Re: [PATCH v4 1/5] fs: Add support for an O_MAYEXEC flag on openat2(2)

From: Deven Bowers
Date: Fri May 01 2020 - 16:36:11 EST




On 4/30/2020 6:23 AM, MickaÃl SalaÃn wrote:
When the O_MAYEXEC flag is passed, openat2(2) may be subject to
additional restrictions depending on a security policy managed by the
kernel through a sysctl or implemented by an LSM thanks to the
inode_permission hook. This new flag is ignored by open(2) and openat(2).

Reviewed-by: Deven Bowers <deven.desai@xxxxxxxxxxxxxxxxxxx>