Re: [RFC PATCH v5 0/2] vfs: add O_CREAT|O_DIRECTORY to open*(2)

From: Askar Safin

Date: Wed May 27 2026 - 13:33:49 EST


Jori Koolstra <jkoolstra@xxxxxxxxx>:
> This series implements new semantics for the O_CREAT|O_DIRECTORY flag
> combination for open*(2): perform a mkdir and open the resulting
> directory; return a pinning fd (which mkdir does not).

Al Viro strongly opposed this idea back in 2020:
> For fuck sake, *NO*!
> We don't need any more multiplexors from hell.

https://lore.kernel.org/all/20200313182844.GO23230@xxxxxxxxxxxxxxxxxx/

So, at my opinion, at very least, Ack-By from Al Viro is mandatory.

--
Askar Safin