re: open()ing a directory without O_DIRECTORY
matthew green <[email protected]> Mon, 04 Mar 2019 08:47:29 +1100
| Newsgroups | gmane.os.netbsd.devel.security |
|---|---|
| Message-ID | <[email protected]> |
> - zero out on unlink() so that the data is no longer on the disk > (Everybody seems to have expressed preference for this solution but I > think this requires changing all the affected filesystems) actually, i don't like this idea at all. it requires additional writes and it makes crash handling much harder later. eg, fsdb will have much less useful data to work from. i really don't think it is worth making hard times harder.