Home
last modified time | relevance | path

Searched refs:prctl (Results 1 – 25 of 78) sorted by relevance

1234

/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Dthread_lister.c58 int dumpable = prctl(PR_GET_DUMPABLE, 0); in ListAllProcessThreads()
60 prctl(PR_SET_DUMPABLE, 1); in ListAllProcessThreads()
68 prctl(PR_SET_DUMPABLE, 0); in ListAllProcessThreads()
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Dthread_lister.c58 int dumpable = prctl(PR_GET_DUMPABLE, 0); in ListAllProcessThreads()
60 prctl(PR_SET_DUMPABLE, 1); in ListAllProcessThreads()
68 prctl(PR_SET_DUMPABLE, 0); in ListAllProcessThreads()
/external/libcap-ng/libcap-ng-0.7/utils/
Dcaptest.c145 rc = prctl(PR_GET_SECUREBITS, 1 << SECURE_NOROOT); in report()
150 rc = prctl(PR_GET_SECUREBITS, 1 << SECURE_NOROOT_LOCKED); in report()
157 rc = prctl(PR_GET_SECUREBITS, 1 << SECURE_NO_SETUID_FIXUP); in report()
164 rc = prctl(PR_GET_SECUREBITS, 1 << SECURE_NO_SETUID_FIXUP_LOCKED); in report()
/external/skia/experimental/webtry/
Dmain.cpp50 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in install_syscall_filter()
56 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) { in install_syscall_filter()
/external/chromium_org/third_party/skia/experimental/webtry/
Dmain.cpp52 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { in install_syscall_filter()
58 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) { in install_syscall_filter()
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
Dkeep-tracking.c108 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0)); in test__keep_tracking()
130 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0)); in test__keep_tracking()
Dperf-time-to-tsc.c109 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm1, 0, 0, 0)); in test__perf_time_to_tsc()
114 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm2, 0, 0, 0)); in test__perf_time_to_tsc()
/external/strace/tests/
Dset_ptracer_any.c15 (void) prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY); in main()
/external/chromium_org/sandbox/linux/seccomp-bpf-helpers/
Dbaseline_policy_unittest.cc287 const int is_dumpable = prctl(PR_GET_DUMPABLE, 0, 0, 0, 0); in BPF_TEST_C()
289 const int prctl_ret = prctl(PR_SET_DUMPABLE, is_dumpable, 0, 0, 0, 0); in BPF_TEST_C()
302 prctl(PR_CAPBSET_READ, 0, 0, 0, 0); in BPF_DEATH_TEST_C()
/external/chromium_org/tools/android/run_pie/
Drun_pie.c41 prctl(PR_SET_NAME, (long) argv[0]); in main()
/external/chromium_org/content/common/
Dset_process_title.cc69 prctl(PR_SET_NAME, base::FilePath(title).BaseName().value().c_str()); in SetProcessTitleFromCommandLine()
/external/chromium_org/base/threading/
Dplatform_thread_linux.cc66 int err = prctl(PR_SET_NAME, name); in SetName()
Dplatform_thread_android.cc96 int err = prctl(PR_SET_NAME, name); in SetName()
/external/chromium_org/sandbox/linux/services/
Dyama.cc41 const int ret = prctl(PR_SET_PTRACER, set_ptracer_arg); in SetYamaPtracersRestriction()
/external/valgrind/main/include/
Dpub_tool_libcproc.h69 extern Int VG_(prctl) (Int option,
/external/chromium_org/sandbox/linux/suid/
Dsandbox.c316 if (prctl(PR_SET_DUMPABLE, 0, 0, 0, 0)) { in DropRoot()
321 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0)) { in DropRoot()
/external/e2fsprogs/lib/ss/
Dpager.c51 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 0) in ss_safe_getenv()
/external/bluetooth/bluedroid/hci/src/
Dbtsnoop_net.c77 prctl(PR_SET_NAME, (unsigned long)LISTEN_THREAD_NAME_, 0, 0, 0); in listen_fn_()
/external/libcap-ng/libcap-ng-0.7/src/
Dcap-ng.c488 rc = prctl(PR_CAPBSET_DROP, i, 0, 0, 0); in capng_apply()
601 if (prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0)) in capng_change_id()
638 rc = prctl(PR_SET_KEEPCAPS, 0, 0, 0, 0); in capng_change_id()
665 int rc = prctl(PR_SET_SECUREBITS, in capng_lock()
/external/linux-tools-perf/perf-3.12.0/tools/perf/
Ddesign.txt197 or prctl (see below).
409 prctl. When a counter is disabled, it doesn't count or generate
435 attached to it, using prctl:
437 prctl(PR_TASK_PERF_EVENTS_ENABLE);
439 prctl(PR_TASK_PERF_EVENTS_DISABLE);
/external/e2fsprogs/lib/blkid/
Dcache.c45 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 0) in safe_getenv()
/external/chromium_org/content/zygote/
Dzygote_main_linux.cc447 prctl(PR_SET_DUMPABLE, 0, 0, 0, 0); in EnterSuidSandbox()
448 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0)) { in EnterSuidSandbox()
/external/bluetooth/bluedroid/osi/src/
Dthread.c148 if (prctl(PR_SET_NAME, (unsigned long)thread->name) == -1) { in run_thread()
/external/jemalloc/src/
Dchunk_mmap.c71 prctl(ANDROID_PR_SET_VMA, ANDROID_PR_SET_VMA_ANON_NAME, ret, in pages_map()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux_libcdep.cc134 return 0 == prctl(PR_SET_NAME, (unsigned long)name, 0, 0, 0); // NOLINT in SanitizerSetThreadName()
143 if (prctl(PR_GET_NAME, (unsigned long)buff, 0, 0, 0)) // NOLINT in SanitizerGetThreadName()

1234