On Sun, Nov 17, 2019 at 12:17:11PM +1100, Aleksa Sarai wrote: > +/* how->upgrade flags for openat2(2). */ > +/* First bit is reserved for a future UPGRADE_NOEXEC flag. */ > +#define UPGRADE_NOREAD 0x02 /* Block re-opening with MAY_READ. > */ > +#define UPGRADE_NOWRITE 0x04 /* Block re-opening with > MAY_WRITE. */
I'd drop that chunk, for the lack of ->upgrade...