Article 6A7AF [$] The curious case of O_DIRECTORY|O_CREAT

[$] The curious case of O_DIRECTORY|O_CREAT

by
corbet
from LWN.net on (#6A7AF)
The open()system call offers a number of flags that modify its behavior; not allcombinations of those flags make sense in a single call. It turns out,though, that the kernel has responded in a surprising way to thecombination of O_CREAT and O_DIRECTORY for a long time.After a 2020 change made that response even more surprising, it seemslikely that this behavior will soon be fixed, resulting in a rare user-visiblesemantic change to a core system call.
External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments