Home
last modified time | relevance | path

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

12

/external/libcap/tests/
Dlibcap_psx_test.c20 cap_set_proc(start); in thread_fork_exit()
29 cap_set_proc(start); in thread_fork_exit()
45 cap_set_proc(start); in main()
Dexploit.c103 if (cap_set_proc(caps)) { in main()
/external/libcap/progs/
Dcapsh.c205 if (cap_set_proc(raised_for_setpcap) != 0) { in arg_drop()
210 if (cap_set_proc(orig) != 0) { in arg_drop()
243 if (cap_set_proc(raised_for_setpcap) != 0) { in arg_drop()
248 if (cap_set_proc(orig) != 0) { in arg_drop()
272 if (cap_set_proc(raised_for_setpcap) != 0) { in arg_change_amb()
277 if (cap_set_proc(orig) != 0) { in arg_change_amb()
310 if (cap_set_proc(raised_for_setpcap) != 0) { in arg_change_amb()
315 if (cap_set_proc(orig) != 0) { in arg_change_amb()
470 (void) cap_set_proc(raised_for_setpcap); in main()
475 if (cap_set_proc(all) != 0) { in main()
[all …]
Dsetcap.c206 if (cap_set_proc(mycaps) != 0) { in main()
/external/ltp/testcases/kernel/syscalls/prctl/
Dprctl07.c128 cap_set_proc(caps); in verify_prctl()
133 cap_set_proc(caps); in verify_prctl()
138 cap_set_proc(caps); in verify_prctl()
142 cap_set_proc(caps); in verify_prctl()
/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_with_inh.c58 ret = cap_set_proc(cur); in main()
Dexec_without_inh.c58 ret = cap_set_proc(cur); in main()
/external/crosvm/sys_util/src/
Dcapabilities.rs16 fn cap_set_proc(cap: cap_t) -> c_int; in cap_set_proc() function
32 let ret = cap_set_proc(caps); in drop_capabilities()
/external/crosvm/devices/src/virtio/fs/
Dcaps.rs34 fn cap_set_proc(cap: cap_t) -> c_int; in cap_set_proc() function
149 if unsafe { cap_set_proc(self.0) } == 0 { in apply()
/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()
301 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/ltp/testcases/kernel/syscalls/pivot_root/
Dpivot_root01.c88 if (cap_set_proc(cap)) in drop_cap_sys_admin()
/external/libwebsockets/lib/plat/unix/
Dunix-caps.c45 cap_set_proc(caps); in _lws_plat_apply_caps()
/external/libcap/libcap/include/sys/
Dcapability.h136 extern int cap_set_proc(cap_t);
/external/libcap/pam_cap/
Dtest_pam_cap.c135 cap_set_proc(orig); in main()
Dpam_cap.c218 if (!cap_set_proc(cap_s)) { in set_capabilities()
/external/linux-kselftest/tools/testing/selftests/vm/
Dmlock-random-test.c38 if (cap_set_proc(cap)) { in set_cap_limits()
/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()
/external/linux-kselftest/tools/testing/selftests/safesetid/
Dsafesetid-test.c280 cap_set_proc(caps); in drop_caps()

12