Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/clone3/
A 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()
/linux/tools/testing/selftests/safesetid/
A 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()

Completed in 5 milliseconds