3 ms·
> how does this not seem crazy? Yeah, it kind of is. But it's the best solution that works in the most cases, and fails in the least bad ways possible, given t
by Karellen 3y ago
> how does this not seem crazy?
Yeah, it kind of is. But it's the best solution that works in the most cases, and fails in the least bad ways possible, given the constraints available. It's a hack, and technical debt. Sometimes that happens.
Fixing it properly by implementing `fchmodat2()` is (finally) going back and paying down that technical debt.
If it didn't seem crazy to someone, then probably no-one would have bothered addressing it.
- dataflow 3y agoIt's great that they added 1 syscall after so many years to address one corner case, but at this rate humanity will be extinct by the time they get halfway through. You'd think they could provide a workaround for the whole thing in the interim by just providing a special open function (procfs_open?) that just opens the proc directory without caring if/where it's mounted?