/external/webrtc/webrtc/base/ |
platform_thread.cc | 16 #include <sys/prctl.h> 73 prctl(PR_SET_NAME, reinterpret_cast<unsigned long>(name));
|
/frameworks/native/cmds/dumpstate/ |
DumpstateInternal.cpp | 25 #include <sys/prctl.h> 50 if (prctl(PR_SET_KEEPCAPS, 1) < 0) { 51 MYLOGE("prctl(PR_SET_KEEPCAPS) failed: %s\n", strerror(errno));
|
/frameworks/native/libs/vr/libvrflinger/ |
epoll_event_dispatcher.cpp | 6 #include <sys/prctl.h> 88 prctl(PR_SET_NAME, reinterpret_cast<unsigned long>("VrEvent"), 0, 0, 0);
|
vr_flinger.cpp | 18 #include <sys/prctl.h> 102 prctl(PR_SET_NAME, reinterpret_cast<unsigned long>("VrDispatch"), 0, 0, 0);
|
/frameworks/native/services/vr/performanced/ |
performance_service.cpp | 4 #include <sys/prctl.h> 15 // This prctl is only available in Android kernels. 150 prctl(PR_SET_TIMERSLACK_PID, config.timer_slack, task_id);
|
/hardware/intel/common/wrs_omxil_core/utils/src/ |
workqueue.cpp | 20 #include <sys/prctl.h> 107 prctl(PR_SET_NAME, (unsigned long)"IntelHwCodec", 0, 0, 0);
|
/hardware/qcom/display/msm8909/libhwcomposer/ |
hwc_uevents.cpp | 25 #include <sys/prctl.h> 215 prctl(PR_SET_NAME, (unsigned long) &thread_name, 0, 0, 0);
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
hwc_uevents.cpp | 25 #include <sys/prctl.h> 183 prctl(PR_SET_NAME, (unsigned long) &thread_name, 0, 0, 0);
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_uevents.cpp | 25 #include <sys/prctl.h> 215 prctl(PR_SET_NAME, (unsigned long) &thread_name, 0, 0, 0);
|
/system/core/logd/ |
LogReader.cpp | 19 #include <sys/prctl.h> 46 prctl(PR_SET_NAME, "logd.reader");
|
/system/core/trusty/storage/proxy/ |
proxy.c | 23 #include <sys/prctl.h> 62 if (prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0) < 0) {
|
/system/extras/simpleperf/ |
workload.cpp | 21 #include <sys/prctl.h> 102 prctl(PR_SET_PDEATHSIG, SIGHUP, 0, 0, 0);
|
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
baseline_policy_unittest.cc | 14 #include <sys/prctl.h> 290 const int is_dumpable = prctl(PR_GET_DUMPABLE, 0, 0, 0, 0); 292 const int prctl_ret = prctl(PR_SET_DUMPABLE, is_dumpable, 0, 0, 0, 0); 305 prctl(PR_CAPBSET_READ, 0, 0, 0, 0);
|
/external/valgrind/include/ |
pub_tool_libcproc.h | 83 extern Int VG_(prctl) (Int option,
|
/art/runtime/native/ |
dalvik_system_ZygoteHooks.cc | 38 #include <sys/prctl.h> 55 if (prctl(PR_SET_DUMPABLE, 1, 0, 0, 0) == -1) { 56 PLOG(ERROR) << "prctl(PR_SET_DUMPABLE) failed for pid " << getpid(); 61 if (prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY, 0, 0, 0) == -1) { 62 // if Yama is off prctl(PR_SET_PTRACER) returns EINVAL - don't log in this 65 PLOG(ERROR) << "prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY) failed for pid " << getpid();
|
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
resumption.c | 15 #include <linux/prctl.h> 200 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); 202 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->prog);
|
sigsegv.c | 18 #include <linux/prctl.h> 173 ret = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); 175 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->prog);
|
/external/openssh/ |
sandbox-seccomp-filter.c | 44 #include <sys/prctl.h> 291 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) == -1) { 292 debug("%s: prctl(PR_SET_NO_NEW_PRIVS): %s", 297 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &preauth_program) == -1) 298 debug("%s: prctl(PR_SET_SECCOMP): %s",
|
/external/strace/ |
prctl.c | 33 #include <linux/prctl.h> 76 SYS_FUNC(prctl) 353 # include <asm/prctl.h>
|
/external/autotest/client/tests/signaltest/src/ |
signaltest.c | 26 #include <sys/prctl.h> 135 prctl(0, 1); 181 prctl(0, 0);
|
/external/libchrome/sandbox/linux/suid/ |
sandbox.c | 23 #include <sys/prctl.h> 317 if (prctl(PR_SET_DUMPABLE, 0, 0, 0, 0)) { 318 perror("prctl(PR_SET_DUMPABLE)"); 322 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0)) { 323 perror("Still dumpable after prctl(PR_SET_DUMPABLE)"); 467 " * A parent process set prctl(PR_SET_NO_NEW_PRIVS, ...)\n");
|
/external/ltp/testcases/kernel/security/filecaps/ |
verify_caps_exec.c | 44 #include <sys/prctl.h> 79 prctl(PR_SET_KEEPCAPS, 1); 229 ret = prctl(PR_CAPBSET_READ, num_caps);
|
/bionic/libc/stdlib/ |
atexit.c | 103 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, p, pgsize,
|
/bionic/linker/ |
linker_allocator.h | 98 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, ptr, size, "linker_alloc_vector");
|
linker_block_allocator.cpp | 126 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, page, PAGE_SIZE, "linker_alloc");
|