diff options
author | Adrian Reber <areber@redhat.com> | 2020-07-19 12:04:17 +0200 |
---|---|---|
committer | Christian Brauner <christian.brauner@ubuntu.com> | 2020-07-20 15:47:42 +0200 |
commit | 1d27a0be16d6c95fd71deef34e94b40cb4411cc9 (patch) | |
tree | b131cf0df8e2aeab5231f67e97430b1f95e666ee /security | |
parent | 227175b2c914bfa4a9aa5b210c7cabd42c5858ac (diff) | |
download | linux-1d27a0be16d6c95fd71deef34e94b40cb4411cc9.tar.bz2 |
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