[PATCH v17 11/13] open: introduce openat2(2) syscall

Al Viro viro at zeniv.linux.org.uk
Mon Nov 25 11:37:24 AEDT 2019


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...


More information about the Linuxppc-dev mailing list