Searched refs:cap_setuid (Results 1 – 2 of 2) sorted by relevance
/external/libcap/progs/ |
D | quicktest.sh | 61 ./setcap cap_setuid,cap_setgid=ep ./privileged 110 fail_capsh --drop=cap_setuid --secbits=0x2f --print -- -c "./privileged --uid=$nouid" 113 ./setcap cap_setuid,cap_setgid=ei ./privileged 117 pass_capsh --secbits=47 --inh=cap_setuid,cap_setgid --drop=cap_setuid \
|
/external/iputils/ninfod/ |
D | ninfod.c | 500 static const cap_value_t cap_setuid = CAP_SETUID; variable 532 cap_set_flag(cap_p, CAP_PERMITTED, 1, &cap_setuid, CAP_SET); in limit_capabilities() 565 cap_set_flag(cap_p, CAP_PERMITTED, 1, &cap_setuid, CAP_SET); in drop_capabilities() 566 cap_set_flag(cap_p, CAP_EFFECTIVE, 1, &cap_setuid, CAP_SET); in drop_capabilities()
|