mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-12 21:44:06 +08:00
1d27a0be16
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>
6 lines
113 B
Plaintext
6 lines
113 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
clone3
|
|
clone3_clear_sighand
|
|
clone3_set_tid
|
|
clone3_cap_checkpoint_restore
|