/external/e2fsprogs/lib/blkid/ |
cache.c | 22 #include <sys/prctl.h> 42 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 0)
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
hwc_uevents.cpp | 25 #include <sys/prctl.h> 185 prctl(PR_SET_NAME, (unsigned long) &thread_name, 0, 0, 0);
|
/hardware/qcom/display/msm8974/libhwcomposer/ |
hwc_uevents.cpp | 25 #include <sys/prctl.h> 190 prctl(PR_SET_NAME, (unsigned long) &thread_name, 0, 0, 0);
|
hwc_vsync.cpp | 27 #include <sys/prctl.h> 56 prctl(PR_SET_NAME, (unsigned long) &thread_name, 0, 0, 0);
|
/hardware/qcom/display/msm8x26/libhwcomposer/ |
hwc_uevents.cpp | 25 #include <sys/prctl.h> 185 prctl(PR_SET_NAME, (unsigned long) &thread_name, 0, 0, 0);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/ |
OMX_AacDec_CompThread.c | 81 #include <linux/prctl.h> 115 prctl(PR_SET_NAME, (unsigned long)"AACComponent", 0, 0, 0);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/ |
OMX_Mp3Dec_CompThread.c | 80 #include <linux/prctl.h> 114 prctl(PR_SET_NAME, (unsigned long)"MP3Component", 0, 0, 0);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/ |
OMX_WbAmrDec_ComponentThread.c | 70 #include <linux/prctl.h> 99 prctl(PR_SET_NAME, (unsigned long)"WBAMRComponent", 0, 0, 0);
|
/external/compiler-rt/lib/asan/tests/ |
asan_test_utils.h | 37 # include <sys/prctl.h>
|
/external/chromium_org/content/zygote/ |
zygote_main_linux.cc | 48 #include <sys/prctl.h> 388 prctl(PR_SET_DUMPABLE, 0, 0, 0, 0); 389 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0)) {
|
/external/chromium_org/sandbox/linux/suid/ |
sandbox.c | 22 #include <sys/prctl.h> 310 if (prctl(PR_SET_DUMPABLE, 0, 0, 0, 0)) { 311 perror("prctl(PR_SET_DUMPABLE)"); 315 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0)) { 316 perror("Still dumpable after prctl(PR_SET_DUMPABLE)");
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_linux_libcdep.cc | 24 #include <sys/prctl.h> 94 return 0 == prctl(PR_SET_NAME, (unsigned long)name, 0, 0, 0); // NOLINT 103 if (prctl(PR_GET_NAME, (unsigned long)buff, 0, 0, 0)) // NOLINT
|
/art/runtime/native/ |
dalvik_system_Zygote.cc | 41 #include <sys/prctl.h> 194 if (prctl(PR_SET_DUMPABLE, 1, 0, 0, 0) == -1) { 195 PLOG(ERROR) << "prctl(PR_SET_DUMPABLE) failed for pid " << getpid(); 207 int rc = prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0); 209 PLOG(FATAL) << "prctl(PR_SET_KEEPCAPS) failed"; 214 for (int i = 0; prctl(PR_CAPBSET_READ, i, 0, 0, 0) >= 0; i++) { 219 int rc = prctl(PR_CAPBSET_DROP, i, 0, 0, 0); 222 PLOG(ERROR) << "prctl(PR_CAPBSET_DROP) failed with EINVAL. Please verify " 225 PLOG(FATAL) << "prctl(PR_CAPBSET_DROP) failed";
|
/dalvik/vm/native/ |
dalvik_system_Zygote.cpp | 43 # include <sys/prctl.h> 406 if (prctl(PR_SET_DUMPABLE, 1, 0, 0, 0) < 0) { 560 err = prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0); 568 for (int i = 0; prctl(PR_CAPBSET_READ, i, 0, 0, 0) >= 0; i++) { 569 err = prctl(PR_CAPBSET_DROP, i, 0, 0, 0);
|
/external/chromium_org/sandbox/linux/seccomp-bpf/ |
demo.cc | 20 #include <sys/prctl.h> 466 // Check that prctl() can manipulate the dumpable flag, but nothing else. 467 if (((errno = 0), !prctl(PR_GET_DUMPABLE)) || errno || 468 ((errno = 0), prctl(PR_SET_DUMPABLE, 1)) || errno || 469 ((errno = 0), !prctl(PR_SET_SECCOMP, 0)) || errno != ERR) { 470 perror("prctl()");
|
/external/linux-tools-perf/ |
builtin-kvm.c | 18 #include <sys/prctl.h>
|
/external/e2fsprogs/lib/et/ |
error_message.c | 24 #include <sys/prctl.h> 181 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 0)
|
/external/openssh/ |
uidswap.c | 33 #include <linux/prctl.h> 235 prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0);
|
/external/qemu/ |
os-posix.c | 43 #include <sys/prctl.h> 163 if (prctl(PR_SET_NAME, name)) {
|
/external/webrtc/src/system_wrappers/source/ |
thread_posix.cc | 56 #include <sys/prctl.h> 347 prctl(PR_SET_NAME, (unsigned long)_name, 0, 0, 0);
|
/frameworks/av/media/libstagefright/ |
AMRWriter.cpp | 25 #include <sys/prctl.h> 205 prctl(PR_SET_NAME, (unsigned long)"AMRWriter", 0, 0, 0);
|
TimedEventQueue.cpp | 29 #include <sys/prctl.h> 215 prctl(PR_SET_NAME, (unsigned long)"TimedEventQueue", 0, 0, 0);
|
/hardware/ril/rild/ |
rild.c | 33 #include <linux/prctl.h> 88 prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0);
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_thread.c | 35 #include <sys/prctl.h> 333 prctl(PR_SET_NAME, (unsigned long)"mm_cam_poll_th", 0, 0, 0); 604 prctl(PR_SET_NAME, (unsigned long)name, 0, 0, 0);
|
/bionic/libc/include/ |
unistd.h | 72 /* IMPORTANT: See comment under <sys/prctl.h> about this declaration */ 73 extern int prctl(int option, ...);
|