Re: [PATCH v5 6/6] selftests: add clone3() CAP_CHECKPOINT_RESTORE test

2020-07-15 Thread Christian Brauner
On Wed, Jul 15, 2020 at 04:49:54PM +0200, Adrian Reber wrote: > 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 > Acked-by: Serge Hallyn > -

[PATCH v5 6/6] selftests: add clone3() CAP_CHECKPOINT_RESTORE test

2020-07-15 Thread Adrian Reber
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 Acked-by: Serge Hallyn --- tools/testing/selftests/clone3/Makefile | 4 +- .../clone3/clone