Re: open()ing a directory without O_DIRECTORY

Jaromír Doleček <[email protected]> Mon, 4 Mar 2019 08:38:55 +0100
Newsgroups gmane.os.netbsd.devel.security
Message-ID <CAMnsW558QUQUNy_HooR_3hnuhN7VihM7i_4tg6hXqtgR=UpHPg@mail.gmail.com>
Le lun. 4 mars 2019 à 08:31, George Georgalis <[email protected]> a écrit :
> Oh I thought the conversation had expanded to over writing old file data too, which would seem a grater value add than the dirent overwrite.

No it hasn't.

Overwriting old file data would be extremely expensive (and very bad
for durability for media - SSD/SD), and hence is very bad idea to do
for any general purpose file system.

Jaromir