Home
last modified time | relevance | path

Searched refs:PR_SET_KEEPCAPS (Results 1 – 23 of 23) sorted by relevance

/external/strace/xlat/
Dprctl_options.h23 #if !(defined(PR_SET_KEEPCAPS) || (defined(HAVE_DECL_PR_SET_KEEPCAPS) && HAVE_DECL_PR_SET_KEEPCAPS))
24 # define PR_SET_KEEPCAPS 8 macro
159 XLAT(PR_SET_KEEPCAPS),
Dprctl_options.in8 PR_SET_KEEPCAPS 8
/external/libcap/libcap/include/uapi/linux/
Dprctl.h22 #define PR_SET_KEEPCAPS 8 macro
/external/selinux/policycoreutils/newrole/
Dnewrole.c547 if (prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0) < 0) { in drop_capabilities()
558 if (prctl(PR_SET_KEEPCAPS, 0, 0, 0, 0) < 0) { in drop_capabilities()
589 if (prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0) < 0) { in drop_capabilities()
600 if (prctl(PR_SET_KEEPCAPS, 0, 0, 0, 0) < 0) { in drop_capabilities()
627 if (prctl(PR_SET_KEEPCAPS, 0, 0, 0, 0) < 0) { in transition_to_caller_uid()
/external/kernel-headers/original/uapi/linux/
Dprctl.h24 #define PR_SET_KEEPCAPS 8 macro
/external/ltp/testcases/kernel/security/securebits/
Dcheck_keepcaps.c119 ret = prctl(PR_SET_KEEPCAPS, 1); in main()
/external/libcap/libcap/
Dlibcap.h195 #define PR_SET_KEEPCAPS 8 macro
/external/minijail/linux-x86/
Dlibconstants.gen.c899 #ifdef PR_SET_KEEPCAPS
900 { "PR_SET_KEEPCAPS", (unsigned long) PR_SET_KEEPCAPS },
/external/iputils/ninfod/
Dninfod.c540 if (prctl(PR_SET_KEEPCAPS, 1) < 0) { in limit_capabilities()
579 if (prctl(PR_SET_KEEPCAPS, 0) < 0) { in drop_capabilities()
/external/openssh/
Duidswap.c230 prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0); in permanently_set_uid()
/external/strace/
Dprctl.c195 case PR_SET_KEEPCAPS: in SYS_FUNC()
DChangeLog-CVS488 PR_SET_DUMPABLE, PR_GET_DUMPABLE, PR_SET_KEEPCAPS, PR_GET_KEEPCAPS.
/external/linux-kselftest/tools/testing/selftests/capabilities/
Dtest_execve.c99 if (prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0) != 0) in create_and_enter_ns()
/external/ltp/testcases/kernel/security/filecaps/
Dverify_caps_exec.c79 prctl(PR_SET_KEEPCAPS, 1); in drop_root()
/external/libcap-ng/libcap-ng-0.7/src/
Dcap-ng.c597 if (prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0)) in capng_change_id()
634 rc = prctl(PR_SET_KEEPCAPS, 0, 0, 0, 0); in capng_change_id()
/external/iputils/
Dping_common.c110 if (prctl(PR_SET_KEEPCAPS, 1) < 0) { in limit_capabilities()
120 if (prctl(PR_SET_KEEPCAPS, 0) < 0) { in limit_capabilities()
Darping.c184 if (prctl(PR_SET_KEEPCAPS, 1) < 0) { in limit_capabilities()
194 if (prctl(PR_SET_KEEPCAPS, 0) < 0) { in limit_capabilities()
/external/android-clat/
Dclatd.c169 prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0); in drop_root()
/external/libcap/progs/
Dcapsh.c242 set = prctl(PR_SET_KEEPCAPS, value); in main()
/external/wpa_supplicant_8/src/utils/
Dos_unix.c341 prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0); in os_program_init()
/external/dnsmasq/src/
Ddnsmasq.c399 if (capset(hdr, data) == -1 || prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0) == -1) in main()
/external/dhcpcd-6.8.2/
Ddhcpcd.c1417 prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0); in switch_user()
/external/minijail/
Dlibminijail.c1691 if (prctl(PR_SET_KEEPCAPS, 1)) in minijail_enter()