mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-08 10:31:43 +01:00
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] [[email protected]: use TH_LOG() instead of ksft_print_msg()] Signed-off-by: Christian Brauner <[email protected]>
9 lines
205 B
Makefile
9 lines
205 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
CFLAGS += -g -I../../../../usr/include/
|
|
LDLIBS += -lcap
|
|
|
|
TEST_GEN_PROGS := clone3 clone3_clear_sighand clone3_set_tid \
|
|
clone3_cap_checkpoint_restore
|
|
|
|
include ../lib.mk
|