Home
last modified time | relevance | path

Searched refs:cap_set_proc (Results 1 – 24 of 24) sorted by relevance

/external/libcap/progs/
Dcapsh.c108 if (cap_set_proc(raised_for_setpcap) != 0) { in main()
113 if (cap_set_proc(orig) != 0) { in main()
179 (void) cap_set_proc(raised_for_setpcap); in main()
184 if (cap_set_proc(all) != 0) { in main()
222 (void) cap_set_proc(raised_for_setpcap); in main()
227 if (cap_set_proc(all) != 0) { in main()
270 if (cap_set_proc(raised_for_chroot) != 0) { in main()
277 if (cap_set_proc(orig) != 0) { in main()
Dsetcap.c165 if (cap_set_proc(mycaps) != 0) { in main()
/external/ltp/testcases/kernel/security/cap_bound/
Dcap_bset_inh_bounds.c66 ret = cap_set_proc(cur); in main()
108 ret = cap_set_proc(tmpcap); in main()
115 ret = cap_set_proc(cur); in main()
Dexec_without_inh.c57 ret = cap_set_proc(cur); in main()
Dexec_with_inh.c57 ret = cap_set_proc(cur); in main()
/external/ltp/testcases/kernel/security/filecaps/
Dcheck_simple_capset.c36 ret = cap_set_proc(caps); in main()
Dinh_capped.c56 ret = cap_set_proc(caps); in set_caps_from_text()
Dverify_caps_exec.c92 ret = cap_set_proc(cap); in drop_root()
296 ret = cap_set_proc(cap_fullpi); in caps_actually_set_test()
/external/libcap/progs/old/
Dexeccap.c54 if (cap_set_proc(new_caps) != 0) { in main()
/external/libcap/doc/
DMakefile11 cap_compare.3 cap_get_proc.3 cap_get_pid.3 cap_set_proc.3 \
/external/iputils/ninfod/
Dninfod.c534 if (cap_set_proc(cap_p) < 0) { in limit_capabilities()
568 if (cap_set_proc(cap_p) < 0) { in drop_capabilities()
585 if (cap_set_proc(cap_p) < 0) { in drop_capabilities()
/external/libcap/libcap/include/sys/
Dcapability.h91 extern int cap_set_proc(cap_t);
/external/libcap/libcap/
Dcap_proc.c30 int cap_set_proc(cap_t cap_d) in cap_set_proc() function
/external/ltp/testcases/kernel/syscalls/pivot_root/
Dpivot_root01.c87 if (cap_set_proc(cap)) in drop_cap_sys_admin()
/external/iputils/
Dping_common.c105 if (cap_set_proc(cap_p) < 0) { in limit_capabilities()
159 if (cap_set_proc(cap_p) < 0) { in modify_capability()
188 if (cap_set_proc(cap) < 0) { in drop_capabilities()
Darping.c177 if (cap_set_proc(cap_p) < 0) { in limit_capabilities()
221 if (cap_set_proc(cap_p) < 0) { in modify_capability_raw()
256 if (cap_set_proc(cap_p) < 0) { in drop_capabilities()
Dtraceroute6.c356 if (cap_set_proc(caps)) { in main()
Dclockdiff.c538 if (cap_set_proc(caps)) { in drop_rights()
/external/linux-kselftest/tools/testing/selftests/vm/
Dmlock-random-test.c38 if (cap_set_proc(cap)) { in set_cap_limits()
/external/libcap/pam_cap/
Dpam_cap.c175 } else if (cap_set_proc(cap_s) == 0) { in set_capabilities()
/external/selinux/mcstrans/src/
Dmcstransd.c522 if (cap_set_proc(new_caps)) { in dropprivs()
/external/ltp/include/
Dconfig.h.default56 /* Define to 1 if you have the declaration of `cap_set_proc', and to 0 if you
/external/minijail/
Dlibminijail.c1857 if (cap_set_proc(caps)) in drop_caps()
1895 if (cap_set_proc(caps)) in drop_caps()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier.c14217 if (cap_set_proc(caps)) { in set_admin()