Home
last modified time | relevance | path

Searched refs:cap_values (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/clone3/
Dclone3_cap_checkpoint_restore.c101 cap_value_t cap_values[] = { CAP_SETUID, CAP_SETGID }; in set_capability() local
118 cap_set_flag(caps, CAP_EFFECTIVE, 2, cap_values, CAP_SET); in set_capability()
119 cap_set_flag(caps, CAP_PERMITTED, 2, cap_values, CAP_SET); in set_capability()
/kernel/linux/linux-5.10/tools/testing/selftests/safesetid/
Dsafesetid-test.c272 cap_value_t cap_values[] = {CAP_SETUID, CAP_SETGID}; in drop_caps() local
277 cap_set_flag(caps, CAP_EFFECTIVE, 2, cap_values, CAP_SET); in drop_caps()