summaryrefslogtreecommitdiffstats
path: root/kernel/pid.c
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 /kernel/pid.c
parent227175b2c914bfa4a9aa5b210c7cabd42c5858ac (diff)
downloadlinux-stable-1d27a0be16d6c95fd71deef34e94b40cb4411cc9.tar.gz
linux-stable-1d27a0be16d6c95fd71deef34e94b40cb4411cc9.tar.bz2
linux-stable-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 'kernel/pid.c')
0 files changed, 0 insertions, 0 deletions