On 01/05/2020 06:04, James Morris wrote: > On Tue, 28 Apr 2020, Mickaël Salaün wrote: > >> When the RESOLVE_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. > > > Reviewed-by: James Morris <jamorris@xxxxxxxxxxxxxxxxxxx> As requested, I switched back to O_MAYEXEC yesterday with the v4: https://lore.kernel.org/lkml/20200430132320.699508-2-mic@xxxxxxxxxxx/