/external/strace/xlat/ |
D | prctl_options.h | 55 #if defined(PR_SET_KEEPCAPS) || (defined(HAVE_DECL_PR_SET_KEEPCAPS) && HAVE_DECL_PR_SET_KEEPCAPS) 57 static_assert((PR_SET_KEEPCAPS) == (8), "PR_SET_KEEPCAPS != 8"); 60 # define PR_SET_KEEPCAPS 8 381 XLAT(PR_SET_KEEPCAPS),
|
D | prctl_options.in | 8 PR_SET_KEEPCAPS 8
|
/external/selinux/policycoreutils/newrole/ |
D | newrole.c | 550 if (prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0) < 0) { in drop_capabilities() 561 if (prctl(PR_SET_KEEPCAPS, 0, 0, 0, 0) < 0) { in drop_capabilities() 592 if (prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0) < 0) { in drop_capabilities() 603 if (prctl(PR_SET_KEEPCAPS, 0, 0, 0, 0) < 0) { in drop_capabilities() 630 if (prctl(PR_SET_KEEPCAPS, 0, 0, 0, 0) < 0) { in transition_to_caller_uid()
|
/external/libcap/libcap/include/uapi/linux/ |
D | prctl.h | 22 #define PR_SET_KEEPCAPS 8 macro
|
/external/kernel-headers/original/uapi/linux/ |
D | prctl.h | 25 #define PR_SET_KEEPCAPS 8 macro
|
/external/ltp/testcases/kernel/security/securebits/ |
D | check_keepcaps.c | 119 ret = prctl(PR_SET_KEEPCAPS, 1); in main()
|
/external/minijail/linux-x86/ |
D | libconstants.gen.c | 899 #ifdef PR_SET_KEEPCAPS 900 { "PR_SET_KEEPCAPS", (unsigned long) PR_SET_KEEPCAPS },
|
/external/libcap/libcap/ |
D | libcap.h | 195 #define PR_SET_KEEPCAPS 8 macro
|
/external/iputils/ninfod/ |
D | ninfod.c | 540 if (prctl(PR_SET_KEEPCAPS, 1) < 0) { in limit_capabilities() 579 if (prctl(PR_SET_KEEPCAPS, 0) < 0) { in drop_capabilities()
|
/external/openssh/ |
D | uidswap.c | 236 prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0); in permanently_set_uid()
|
/external/strace/ |
D | prctl.c | 261 case PR_SET_KEEPCAPS: in SYS_FUNC()
|
/external/ltp/testcases/kernel/security/filecaps/ |
D | verify_caps_exec.c | 80 prctl(PR_SET_KEEPCAPS, 1); in drop_root()
|
/external/libcap-ng/libcap-ng-0.7/src/ |
D | cap-ng.c | 597 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/ |
D | ping_common.c | 110 if (prctl(PR_SET_KEEPCAPS, 1) < 0) { in limit_capabilities() 120 if (prctl(PR_SET_KEEPCAPS, 0) < 0) { in limit_capabilities()
|
D | arping.c | 184 if (prctl(PR_SET_KEEPCAPS, 1) < 0) { in limit_capabilities() 194 if (prctl(PR_SET_KEEPCAPS, 0) < 0) { in limit_capabilities()
|
/external/linux-kselftest/tools/testing/selftests/capabilities/ |
D | test_execve.c | 105 if (prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0) != 0) in create_and_enter_ns()
|
/external/android-clat/ |
D | clatd.c | 210 prctl(PR_SET_KEEPCAPS, 1); in drop_root_but_keep_caps()
|
/external/libcap/progs/ |
D | capsh.c | 242 set = prctl(PR_SET_KEEPCAPS, value); in main()
|
/external/syzkaller/sys/linux/ |
D | sys_386.const | 414 PR_SET_KEEPCAPS = 8
|
D | sys_amd64.const | 414 PR_SET_KEEPCAPS = 8
|
D | sys_ppc64le.const | 414 PR_SET_KEEPCAPS = 8
|
D | sys_arm.const | 414 PR_SET_KEEPCAPS = 8
|
D | sys_arm64.const | 414 PR_SET_KEEPCAPS = 8
|
/external/wpa_supplicant_8/src/utils/ |
D | os_unix.c | 375 prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0); in os_program_init()
|
/external/dnsmasq/src/ |
D | dnsmasq.c | 372 if (capset(hdr, data) == -1 || prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0) == -1) in main()
|