[PATCH v6 6/7] selftest/openat2: Add tests for O_MAYEXEC enforcing

Kees Cook keescook at chromium.org
Wed Jul 15 20:38:44 UTC 2020


On Tue, Jul 14, 2020 at 08:16:37PM +0200, Mickaël Salaün wrote:
> Test propagation of noexec mount points or file executability through
> files open with or without O_MAYEXEC, thanks to the
> fs.open_mayexec_enforce sysctl.
> 
> Signed-off-by: Mickaël Salaün <mic at digikod.net>
> Reviewed-by: Thibaut Sautereau <thibaut.sautereau at ssi.gouv.fr>
> Cc: Aleksa Sarai <cyphar at cyphar.com>
> Cc: Al Viro <viro at zeniv.linux.org.uk>
> Cc: Kees Cook <keescook at chromium.org>
> Cc: Shuah Khan <shuah at kernel.org>

Yay variants! :)

Reviewed-by: Kees Cook <keescook at chromium.org>

-- 
Kees Cook



More information about the Linux-security-module-archive mailing list