android_kernel_motorola_sm6375/tools/testing
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Adrian Reber e5abb5d796 UPSTREAM: 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.

Change-Id: Iac62e21213ad1bd04f5a2762255fc924c3830ea6
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>
Signed-off-by: ralph950412 <ralph950412@gmail.com>
2026-07-09 09:06:39 -04:00
..
fault-injection
ktest ktest.pl: Prevent recursion of default variable options 2025-08-28 16:21:26 +02:00
nvdimm
radix-tree radix tree test suite: fix incorrect allocation size for pthreads 2023-08-16 18:19:23 +02:00
scatterlist
selftests UPSTREAM: selftests: add clone3() CAP_CHECKPOINT_RESTORE test 2026-07-09 09:06:39 -04:00
vsock