Home
last modified time | relevance | path

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

123

/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/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/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/chromium/android/
Dprefix.h41 #define prctl() (0) macro
/external/chromium_org/base/threading/
Dplatform_thread_linux.cc64 int err = prctl(PR_SET_NAME, name); in SetName()
Dplatform_thread_android.cc90 int err = prctl(PR_SET_NAME, name); in SetName()
/external/chromium_org/content/common/
Dset_process_title.cc66 prctl(PR_SET_NAME, base::FilePath(title).BaseName().value().c_str()); in SetProcessTitleFromCommandLine()
/external/chromium_org/sandbox/linux/seccomp-bpf/
Ddemo.cc467 if (((errno = 0), !prctl(PR_GET_DUMPABLE)) || errno || in main()
468 ((errno = 0), prctl(PR_SET_DUMPABLE, 1)) || errno || in main()
469 ((errno = 0), !prctl(PR_SET_SECCOMP, 0)) || errno != ERR) { in main()
Dsandbox_bpf_unittest.cc541 !prctl(PR_CAPBSET_DROP, -1, (void*)NULL, (void*)NULL, (void*)NULL)); in BPF_TEST()
545 prctl(PR_CAPBSET_DROP, -2, (void*)NULL, (void*)NULL, (void*)NULL) == -1); in BPF_TEST()
835 BPF_ASSERT((ret = prctl(PR_GET_DUMPABLE)) >= 0); in BPF_TEST()
836 BPF_ASSERT(prctl(PR_SET_DUMPABLE, 1 - ret) == 0); in BPF_TEST()
837 BPF_ASSERT(prctl(PR_GET_ENDIAN, &ret) == -1); in BPF_TEST()
/external/valgrind/main/include/
Dpub_tool_libcproc.h66 extern Int VG_(prctl) (Int option,
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux_libcdep.cc94 return 0 == prctl(PR_SET_NAME, (unsigned long)name, 0, 0, 0); // NOLINT in SanitizerSetThreadName()
103 if (prctl(PR_GET_NAME, (unsigned long)buff, 0, 0, 0)) // NOLINT in SanitizerGetThreadName()
/external/chromium_org/content/zygote/
Dzygote_main_linux.cc388 prctl(PR_SET_DUMPABLE, 0, 0, 0, 0); in EnterSuidSandbox()
389 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0)) { in EnterSuidSandbox()
/external/chromium_org/sandbox/linux/suid/
Dsandbox.c310 if (prctl(PR_SET_DUMPABLE, 0, 0, 0, 0)) { in DropRoot()
315 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0)) { in DropRoot()
/external/e2fsprogs/lib/ss/
Dpager.c49 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 0) in ss_safe_getenv()
/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/chromium/base/threading/
Dplatform_thread_posix.cc183 int err = prctl(PR_SET_NAME, name);
/external/e2fsprogs/lib/blkid/
Dcache.c42 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 0) in safe_getenv()
/external/linux-tools-perf/
Ddesign.txt197 or prctl (see below).
409 prctl. When a counter is disabled, it doesn't count or generate
434 attached to it, using prctl:
436 prctl(PR_TASK_PERF_EVENTS_ENABLE);
438 prctl(PR_TASK_PERF_EVENTS_DISABLE);
/external/e2fsprogs/lib/et/
Derror_message.c181 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 0) in safe_getenv()
/external/webrtc/src/system_wrappers/source/
Dthread_posix.cc347 prctl(PR_SET_NAME, (unsigned long)_name, 0, 0, 0); in Run()
/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/libcap-ng/libcap-ng-0.7/
DChangeLog32 - Review prctl calls to make sure we are passing 5 args
/external/qemu/
Dos-posix.c163 if (prctl(PR_SET_NAME, name)) { in os_set_proc_name()
/external/valgrind/main/docs/internals/
D3_4_BUGSTATUS.txt31 186507 exp-ptrcheck unhandled syscalls prctl, etc.
/external/openssh/
Duidswap.c235 prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0); in permanently_set_uid()

123