Searched refs:cap_values (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/clone3/ |
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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/safesetid/ |
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()
|