Skip to content
Commit 1caef81d authored by Adrian Reber's avatar Adrian Reber Committed by Christian Brauner
Browse files

pid: use checkpoint_restore_ns_capable() for set_tid



Use the newly introduced capability CAP_CHECKPOINT_RESTORE to allow
using clone3() with set_tid set.

Signed-off-by: default avatarAdrian Reber <areber@redhat.com>
Signed-off-by: default avatarNicolas Viennot <Nicolas.Viennot@twosigma.com>
Reviewed-by: default avatarSerge Hallyn <serge@hallyn.com>
Acked-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/20200719100418.2112740-3-areber@redhat.com


Signed-off-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 124ea650
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment