Home
last modified time | relevance | path

Searched refs:cap_setuid (Results 1 – 7 of 7) sorted by relevance

/external/libcap/progs/
Dquicktest.sh67 ./setcap cap_setuid,cap_setgid=ep ./privileged
132 fail_capsh --drop=cap_setuid --secbits=0x2f --print -- -c "./privileged --uid=$nouid"
135 ./setcap cap_setuid,cap_setgid=ei ./privileged
139 pass_capsh --secbits=47 --inh=cap_setuid,cap_setgid --drop=cap_setuid \
201 pass_capsh --keep=1 --uid=$nouid --inh=cap_setuid --addamb=cap_setuid -- ./hack.sh
209 …fail_capsh --keep=1 --uid=$nouid --inh=cap_setuid --addamb=cap_setuid -- -c "./privileged --print …
213 …pass_capsh --keep=1 --uid=$nouid --inh=cap_setuid --addamb=cap_setuid -- -c "./privileged --print …
Dcapsh.c698 status = cap_setuid(value); in main()
783 status = cap_setuid(pwd->pw_uid); in main()
/external/libcap/pam_cap/
Dsudotest.conf8 cap_setuid,cap_chown @three
14 !cap_chown,cap_setuid @one
17 ^cap_setuid alpha
20 ^cap_chown,^cap_setgid,!cap_setuid delta
23 cap_setuid @four
/external/iputils/ninfod/
Dninfod.c500 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()
/external/libcap/doc/
DMakefile19 cap_setuid.3 cap_setgroups.3 \
/external/libcap/libcap/include/sys/
Dcapability.h178 extern int cap_setuid(uid_t uid);
/external/libcap/libcap/
Dcap_proc.c589 int cap_setuid(uid_t uid) in cap_setuid() function