Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/clone3/
H A Dclone3_cap_checkpoint_restore.c97 cap_value_t cap_values[] = { CAP_SETUID, CAP_SETGID }; in set_capability()
114 cap_set_flag(caps, CAP_EFFECTIVE, 2, cap_values, CAP_SET); in set_capability()
115 cap_set_flag(caps, CAP_PERMITTED, 2, cap_values, CAP_SET); in set_capability()
99 cap_value_t cap_values[] = { CAP_SETUID, CAP_SETGID }; set_capability() local
/linux/tools/testing/selftests/safesetid/
H A Dsafesetid-test.c464 cap_value_t cap_values[] = {CAP_SETUID, CAP_SETGID}; in drop_caps() local
469 cap_set_flag(caps, CAP_EFFECTIVE, 2, cap_values, CAP_SET); in drop_caps()