Home
last modified time | relevance | path

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

12

/external/strace/xlat/
Dprctl_options.h55 #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),
Dprctl_options.in8 PR_SET_KEEPCAPS 8
/external/selinux/policycoreutils/newrole/
Dnewrole.c550 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/
Dprctl.h22 #define PR_SET_KEEPCAPS 8 macro
/external/kernel-headers/original/uapi/linux/
Dprctl.h25 #define PR_SET_KEEPCAPS 8 macro
/external/ltp/testcases/kernel/security/securebits/
Dcheck_keepcaps.c119 ret = prctl(PR_SET_KEEPCAPS, 1); in main()
/external/minijail/linux-x86/
Dlibconstants.gen.c899 #ifdef PR_SET_KEEPCAPS
900 { "PR_SET_KEEPCAPS", (unsigned long) PR_SET_KEEPCAPS },
/external/libcap/libcap/
Dlibcap.h195 #define PR_SET_KEEPCAPS 8 macro
/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.c236 prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0); in permanently_set_uid()
/external/strace/
Dprctl.c261 case PR_SET_KEEPCAPS: in SYS_FUNC()
/external/ltp/testcases/kernel/security/filecaps/
Dverify_caps_exec.c80 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/linux-kselftest/tools/testing/selftests/capabilities/
Dtest_execve.c105 if (prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0) != 0) in create_and_enter_ns()
/external/android-clat/
Dclatd.c210 prctl(PR_SET_KEEPCAPS, 1); in drop_root_but_keep_caps()
/external/libcap/progs/
Dcapsh.c242 set = prctl(PR_SET_KEEPCAPS, value); in main()
/external/syzkaller/sys/linux/
Dsys_386.const414 PR_SET_KEEPCAPS = 8
Dsys_amd64.const414 PR_SET_KEEPCAPS = 8
Dsys_ppc64le.const414 PR_SET_KEEPCAPS = 8
Dsys_arm.const414 PR_SET_KEEPCAPS = 8
Dsys_arm64.const414 PR_SET_KEEPCAPS = 8
/external/wpa_supplicant_8/src/utils/
Dos_unix.c375 prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0); in os_program_init()
/external/dnsmasq/src/
Ddnsmasq.c372 if (capset(hdr, data) == -1 || prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0) == -1) in main()

12