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

- From: Deven Bowers \<hidden\>
- Date: 2020-05-01 20:36:13 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2020/05/178705
- Thread: https://ratatoskr.run/linux-api/2020/04/178580/t.md

```text


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