Searched refs:cap_values (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/clone3/ |
A D | clone3_cap_checkpoint_restore.c | 101 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 D | safesetid-test.c | 272 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