aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/clone3/.gitignore
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 /tools/testing/selftests/clone3/.gitignore
parentprctl: exe link permission error changed from -EINVAL to -EPERM (diff)
downloadwireguard-linux-1d27a0be16d6c95fd71deef34e94b40cb4411cc9.tar.xz
wireguard-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 'tools/testing/selftests/clone3/.gitignore')
-rw-r--r--tools/testing/selftests/clone3/.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/clone3/.gitignore b/tools/testing/selftests/clone3/.gitignore
index a81085742d40..83c0f6246055 100644
--- a/tools/testing/selftests/clone3/.gitignore
+++ b/tools/testing/selftests/clone3/.gitignore
@@ -2,3 +2,4 @@
clone3
clone3_clear_sighand
clone3_set_tid
+clone3_cap_checkpoint_restore