/external/minijail/ |
system.c | 17 #include <sys/prctl.h> 59 int securebits_ret = prctl(PR_SET_SECUREBITS, securebits); 61 pwarn("prctl(PR_SET_SECUREBITS) failed"); 111 * programmatically find the value by calling prctl(PR_CAPBSET_READ). 117 for (; prctl(PR_CAPBSET_READ, last_valid_cap, 0, 0, 0) >= 0; 137 return prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_CHOWN, 0, 0) >=
|
/external/strace/tests/ |
prctl-tid_address.c | 2 * Check decoding of prctl PR_GET_TID_ADDRESS operation. 33 #include <linux/prctl.h> 70 printf("prctl(PR_GET_TID_ADDRESS, NULL) = %s\n", sprintrc(rc)); 73 printf("prctl(PR_GET_TID_ADDRESS, %#llx) = %s\n", 78 printf("prctl(PR_GET_TID_ADDRESS, %p) = %s\n", 81 printf("prctl(PR_GET_TID_ADDRESS, [%s]) = %s\n", 89 printf("prctl(PR_GET_TID_ADDRESS, %p) = %s\n", 92 printf("prctl(PR_GET_TID_ADDRESS, [%s]) = %s\n",
|
seccomp-filter-v.c | 40 # include <sys/prctl.h> 108 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0))
|
/external/strace/tests-m32/ |
prctl-tid_address.c | 2 * Check decoding of prctl PR_GET_TID_ADDRESS operation. 33 #include <linux/prctl.h> 70 printf("prctl(PR_GET_TID_ADDRESS, NULL) = %s\n", sprintrc(rc)); 73 printf("prctl(PR_GET_TID_ADDRESS, %#llx) = %s\n", 78 printf("prctl(PR_GET_TID_ADDRESS, %p) = %s\n", 81 printf("prctl(PR_GET_TID_ADDRESS, [%s]) = %s\n", 89 printf("prctl(PR_GET_TID_ADDRESS, %p) = %s\n", 92 printf("prctl(PR_GET_TID_ADDRESS, [%s]) = %s\n",
|
seccomp-filter-v.c | 40 # include <sys/prctl.h> 108 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0))
|
/external/strace/tests-mx32/ |
prctl-tid_address.c | 2 * Check decoding of prctl PR_GET_TID_ADDRESS operation. 33 #include <linux/prctl.h> 70 printf("prctl(PR_GET_TID_ADDRESS, NULL) = %s\n", sprintrc(rc)); 73 printf("prctl(PR_GET_TID_ADDRESS, %#llx) = %s\n", 78 printf("prctl(PR_GET_TID_ADDRESS, %p) = %s\n", 81 printf("prctl(PR_GET_TID_ADDRESS, [%s]) = %s\n", 89 printf("prctl(PR_GET_TID_ADDRESS, %p) = %s\n", 92 printf("prctl(PR_GET_TID_ADDRESS, [%s]) = %s\n",
|
seccomp-filter-v.c | 40 # include <sys/prctl.h> 108 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0))
|
/external/valgrind/memcheck/tests/ |
threadname.c | 9 #include <sys/prctl.h>
|
/hardware/qcom/display/msm8909/hdmi_cec/ |
qhdmi_cec.h | 34 #include <sys/prctl.h>
|
/hardware/qcom/display/msm8909w_3100/hdmi_cec/ |
qhdmi_cec.h | 34 #include <sys/prctl.h>
|
/external/libcap/progs/ |
capsh.c | 15 #include <sys/prctl.h> 25 #include <sys/prctl.h> 112 status = prctl(PR_CAPBSET_DROP, cap); 242 set = prctl(PR_SET_KEEPCAPS, value); 244 fprintf(stderr, "prctl(PR_SET_KEEPCAPS, %u) failed: %s\n", 298 status = prctl(PR_SET_SECUREBITS, value); 519 set = prctl(PR_GET_SECUREBITS); 536 set = prctl(PR_GET_KEEPCAPS); 538 printf(" prctl-keep-caps: %s (locking not supported)\n",
|
/bionic/libc/bionic/ |
pthread_create.cpp | 68 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, allocation, allocation_size, "bionic TLS guard"); 80 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, thread->bionic_tls, BIONIC_TLS_SIZE, "bionic TLS"); 107 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, ss.ss_sp, ss.ss_size, "thread signal stack"); 108 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, stack_base, PTHREAD_GUARD_SIZE, "thread signal stack guard"); 187 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, space, stack_guard_size, "thread stack guard");
|
/external/e2fsprogs/lib/blkid/ |
cache.c | 23 #include <sys/prctl.h> 43 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 0)
|
/external/libchrome/base/threading/ |
platform_thread_linux.cc | 22 #include <sys/prctl.h> 144 // available everywhere and it's only benefit over using prctl directly is 146 int err = prctl(PR_SET_NAME, name.c_str()); 149 DPLOG(ERROR) << "prctl(PR_SET_NAME)";
|
/external/libchrome/base/trace_event/ |
heap_profiler_allocation_context_tracker.cc | 17 #include <sys/prctl.h> 49 // If the thread name is not set, try to get it from prctl. Thread name might 52 int err = prctl(PR_GET_NAME, name);
|
/external/ltp/testcases/kernel/syscalls/madvise/ |
madvise08.c | 38 #include <sys/prctl.h> 72 switch (prctl(PR_GET_DUMPABLE)) { 78 tst_brk(TBROK | TERRNO, "prctl(PR_GET_DUMPABLE)");
|
/external/webrtc/webrtc/base/ |
platform_thread.cc | 16 #include <sys/prctl.h> 73 prctl(PR_SET_NAME, reinterpret_cast<unsigned long>(name));
|
/frameworks/base/cmds/incidentd/src/ |
incidentd_util.cpp | 21 #include <sys/prctl.h> 83 prctl(PR_SET_PDEATHSIG, SIGKILL);
|
/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> 99 prctl(PR_SET_NAME, reinterpret_cast<unsigned long>("VrDispatch"), 0, 0, 0);
|
/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/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/libbacktrace/ |
backtrace_benchmarks.cpp | 21 #include <sys/prctl.h> 37 // Definitions of prctl arguments to set a vma name in Android kernels. 95 if (prctl(ANDROID_PR_SET_VMA, ANDROID_PR_SET_VMA_ANON_NAME, memory, PAGE_SIZE, "test_map") ==
|
/system/core/logd/ |
LogListener.cpp | 21 #include <sys/prctl.h> 42 prctl(PR_SET_NAME, "logd.writer");
|