Skip to content
Commit 32d118ad authored by Daniel Verkamp's avatar Daniel Verkamp Committed by Andrew Morton
Browse files

selftests/memfd: add tests for F_SEAL_EXEC

Basic tests to ensure that user/group/other execute bits cannot be changed
after applying F_SEAL_EXEC to a memfd.

Link: https://lkml.kernel.org/r/20221215001205.51969-3-jeffxu@google.com


Signed-off-by: default avatarDaniel Verkamp <dverkamp@chromium.org>
Co-developed-by: default avatarJeff Xu <jeffxu@google.com>
Signed-off-by: default avatarJeff Xu <jeffxu@google.com>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Cc: David Herrmann <dh.herrmann@gmail.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jann Horn <jannh@google.com>
Cc: Jorge Lucangeli Obes <jorgelo@chromium.org>
Cc: kernel test robot <lkp@intel.com>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 6fd73538
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment