The curious case of O_DIRECTORY|O_CREAT
The curious case of O_DIRECTORY|O_CREAT
Posted Mar 28, 2023 18:50 UTC (Tue) by iabervon (subscriber, #722)In reply to: The curious case of O_DIRECTORY|O_CREAT by mb
Parent article: The curious case of O_DIRECTORY|O_CREAT
I'd also be interested in fuzz tests that report if a file gets created by open() without an fd for it being returned. If you pick a random combination of flags and permissions and starting state, I'm not sure what should happen, but I don't think that's ever an expected result.
