# Re: \[PATCH v3 1/5\] fs: Add support for a RESOLVE\_MAYEXEC flag on openat2(2)

- From: Mickaël Salaün \<mic@digikod.net\>
- Date: 2020-05-01 14:15:14 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2020/05/178671
- Thread: https://ratatoskr.run/linux-api/2020/04/178350/t.md

```text

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

As requested, I switched back to O_MAYEXEC yesterday with the v4:
https://lore.kernel.org/lkml/20200430132320.699508-2-mic@digikod.net/
```
