HomeSort by relevance Sort by last modified time
    Searched refs:PR_SET_NO_NEW_PRIVS (Results 1 - 25 of 50) sorted by null

1 2

  /external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
seccomp_bpf_tests.c 40 #ifndef PR_SET_NO_NEW_PRIVS
41 #define PR_SET_NO_NEW_PRIVS 38
110 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
112 TH_LOG("Kernel does not support PR_SET_NO_NEW_PRIVS!");
118 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, NULL, 0, 0);
120 TH_LOG("Kernel does not support PR_SET_NO_NEW_PRIVS!");
162 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
183 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
198 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
215 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)
    [all...]
resumption.c 27 #ifndef PR_SET_NO_NEW_PRIVS
28 #define PR_SET_NO_NEW_PRIVS 38
200 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
sigsegv.c 31 #ifndef PR_SET_NO_NEW_PRIVS
32 #define PR_SET_NO_NEW_PRIVS 38
173 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
  /external/compiler-rt/test/asan/TestCases/Linux/
read_binary_name_regtest.c 30 prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
prctl.h 136 #define PR_SET_NO_NEW_PRIVS 38
  /external/strace/tests/
prctl-seccomp-filter-v.c 47 && defined PR_SET_NO_NEW_PRIVS \
102 puts("prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0");
128 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0))
129 perror_msg_and_skip("PR_SET_NO_NEW_PRIVS");
140 SKIP_MAIN_UNDEFINED("HAVE_PRCTL && PR_SET_NO_NEW_PRIVS && PR_SET_SECCOMP"
seccomp-filter-v.c 48 && defined PR_SET_NO_NEW_PRIVS \
108 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0))
109 perror_msg_and_skip("PR_SET_NO_NEW_PRIVS");
205 SKIP_MAIN_UNDEFINED("__NR_seccomp && PR_SET_NO_NEW_PRIVS"
  /external/strace/tests-m32/
prctl-seccomp-filter-v.c 47 && defined PR_SET_NO_NEW_PRIVS \
102 puts("prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0");
128 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0))
129 perror_msg_and_skip("PR_SET_NO_NEW_PRIVS");
140 SKIP_MAIN_UNDEFINED("HAVE_PRCTL && PR_SET_NO_NEW_PRIVS && PR_SET_SECCOMP"
seccomp-filter-v.c 48 && defined PR_SET_NO_NEW_PRIVS \
108 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0))
109 perror_msg_and_skip("PR_SET_NO_NEW_PRIVS");
205 SKIP_MAIN_UNDEFINED("__NR_seccomp && PR_SET_NO_NEW_PRIVS"
  /external/strace/tests-mx32/
prctl-seccomp-filter-v.c 47 && defined PR_SET_NO_NEW_PRIVS \
102 puts("prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) = 0");
128 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0))
129 perror_msg_and_skip("PR_SET_NO_NEW_PRIVS");
140 SKIP_MAIN_UNDEFINED("HAVE_PRCTL && PR_SET_NO_NEW_PRIVS && PR_SET_SECCOMP"
seccomp-filter-v.c 48 && defined PR_SET_NO_NEW_PRIVS \
108 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0))
109 perror_msg_and_skip("PR_SET_NO_NEW_PRIVS");
205 SKIP_MAIN_UNDEFINED("__NR_seccomp && PR_SET_NO_NEW_PRIVS"
  /external/linux-kselftest/tools/testing/selftests/seccomp/
seccomp_bpf.c 56 #ifndef PR_SET_NO_NEW_PRIVS
57 #define PR_SET_NO_NEW_PRIVS 38
197 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
199 TH_LOG("Kernel does not support PR_SET_NO_NEW_PRIVS!");
208 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, NULL, 0, 0);
210 TH_LOG("Kernel does not support PR_SET_NO_NEW_PRIVS!");
265 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
302 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
336 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
359 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)
    [all...]
seccomp_benchmark.c 83 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
  /external/strace/xlat/
prctl_options.h 110 #if !(defined(PR_SET_NO_NEW_PRIVS) || (defined(HAVE_DECL_PR_SET_NO_NEW_PRIVS) && HAVE_DECL_PR_SET_NO_NEW_PRIVS))
111 # define PR_SET_NO_NEW_PRIVS 38
188 XLAT(PR_SET_NO_NEW_PRIVS),
  /external/seccomp-tests/linux/
seccomp_bpf.c 46 #ifndef PR_SET_NO_NEW_PRIVS
47 #define PR_SET_NO_NEW_PRIVS 38
133 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
135 TH_LOG("Kernel does not support PR_SET_NO_NEW_PRIVS!");
144 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, NULL, 0, 0);
146 TH_LOG("Kernel does not support PR_SET_NO_NEW_PRIVS!");
201 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
238 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
272 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
295 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)
    [all...]
  /cts/tests/tests/os/jni/
android_os_cts_OSFeatures.cpp 42 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) < 0) {
  /external/libcap/libcap/include/uapi/linux/
prctl.h 147 #define PR_SET_NO_NEW_PRIVS 38
  /libcore/luni/src/test/native/
libcore_java_io_FileTest.cpp 73 long ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
  /bionic/libc/kernel/uapi/linux/
prctl.h 116 #define PR_SET_NO_NEW_PRIVS 38
  /external/kernel-headers/original/uapi/linux/
prctl.h 175 #define PR_SET_NO_NEW_PRIVS 38
  /frameworks/base/core/java/com/android/internal/os/
WebViewZygoteInit.java 143 Os.prctl(OsConstants.PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0);
145 throw new RuntimeException("Failed to set PR_SET_NO_NEW_PRIVS", ex);
  /external/libchrome/base/process/
launch_posix.cc 480 #ifndef PR_SET_NO_NEW_PRIVS
481 #define PR_SET_NO_NEW_PRIVS 38
484 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) && errno != EINVAL) {
486 RAW_LOG(FATAL, "prctl(PR_SET_NO_NEW_PRIVS) failed");
  /external/minijail/linux-x86/
libconstants.gen.c 947 #ifdef PR_SET_NO_NEW_PRIVS
948 { "PR_SET_NO_NEW_PRIVS", (unsigned long) PR_SET_NO_NEW_PRIVS },
949 #endif // PR_SET_NO_NEW_PRIVS
    [all...]
  /external/strace/
prctl.c 320 case PR_SET_NO_NEW_PRIVS:
  /system/core/debuggerd/crasher/
crasher.cpp 210 fprintf(stderr, " no_new_privs set PR_SET_NO_NEW_PRIVS and then abort\n");
307 if (prctl(PR_SET_NO_NEW_PRIVS, 1) != 0) {
308 fprintf(stderr, "prctl(PR_SET_NO_NEW_PRIVS, 1) failed: %s\n", strerror(errno));

Completed in 924 milliseconds

1 2