3 ms·
The filesystem might not be able to block use-after-free bugs, but it could greatly mitigate them. In particular, if the fs avoided reusing file descriptors, it
by gizmo686 5y ago
The filesystem might not be able to block use-after-free bugs, but it could greatly mitigate them. In particular, if the fs avoided reusing file descriptors, it could return an error on use-after-free instead of silently corrupting a random data file.
- blibble 5y agothe filesystem doesn't know anything about file descriptors you're talking about the kernel interface that eventually maps onto a filesystem