The curious case of O_DIRECTORY|O_CREAT
The curious case of O_DIRECTORY|O_CREAT
Posted Mar 27, 2023 22:49 UTC (Mon) by jhoblitt (subscriber, #77733)Parent article: The curious case of O_DIRECTORY|O_CREAT
Why does open() need the O_DIRECTORY flag at all? It seems like unnecessary overlap with opendir(), mkdir(), and possibly access().
