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 theinode_permission hook. This new flag is ignored by open(2) and openat(2).
Reviewed-by: Deven Bowers <deven.desai@xxxxxxxxxxxxxxxxxxx>