The curious case of O_DIRECTORY|O_CREAT
The curious case of O_DIRECTORY|O_CREAT
Posted Mar 28, 2023 19:40 UTC (Tue) by roc (subscriber, #30627)In reply to: The curious case of O_DIRECTORY|O_CREAT by NYKevin
Parent article: The curious case of O_DIRECTORY|O_CREAT
You don't want userspace code execution to be part of the transaction, that seems really dangerous even with optimistic concurrency. You would want to be able to submit the complete transaction for validation and execution by the kernel. Actually these days you could probably cobble something together using io_uring and eBPF to do this.