summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorAdrian Reber <areber@redhat.com>2020-07-19 12:04:17 +0200
committerChristian Brauner <christian.brauner@ubuntu.com>2020-07-20 15:47:42 +0200
commit1d27a0be16d6c95fd71deef34e94b40cb4411cc9 (patch)
treeb131cf0df8e2aeab5231f67e97430b1f95e666ee /security
parentprctl: exe link permission error changed from -EINVAL to -EPERM (diff)
downloadlinux-1d27a0be16d6c95fd71deef34e94b40cb4411cc9.tar.xz
linux-1d27a0be16d6c95fd71deef34e94b40cb4411cc9.zip
selftests: add clone3() CAP_CHECKPOINT_RESTORE test
This adds a test that changes its UID, uses capabilities to get CAP_CHECKPOINT_RESTORE and uses clone3() with set_tid to create a process with a given PID as non-root. Signed-off-by: Adrian Reber <areber@redhat.com> Link: https://lore.kernel.org/r/20200719100418.2112740-8-areber@redhat.com [christian.brauner@ubuntu.com: use TH_LOG() instead of ksft_print_msg()] Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions