/cts/tests/jni/ |
android_os_cts_OSFeatures.cpp | 18 #include <sys/prctl.h> 22 return prctl(PR_GET_NO_NEW_PRIVS, 0, 0, 0, 0); 27 return prctl(PR_CAPBSET_READ, i, 0, 0, 0);
|
/bionic/libc/bionic/ |
name_mem.c | 32 * Local definitions of custom prctl arguments to set a vma name in some kernels 51 return prctl(BIONIC_PR_SET_VMA, BIONIC_PR_SET_VMA_ANON_NAME,
|
pthread_setname_np.cpp | 33 #include <sys/prctl.h> 60 return prctl(PR_SET_NAME, thread_name) ? errno : 0;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
thread_lister.c | 37 # include <sys/prctl.h> 58 int dumpable = prctl(PR_GET_DUMPABLE, 0); 60 prctl(PR_SET_DUMPABLE, 1); 68 prctl(PR_SET_DUMPABLE, 0);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
thread_lister.c | 37 # include <sys/prctl.h> 58 int dumpable = prctl(PR_GET_DUMPABLE, 0); 60 prctl(PR_SET_DUMPABLE, 1); 68 prctl(PR_SET_DUMPABLE, 0);
|
/system/core/libcutils/ |
process_name.c | 29 #include <sys/prctl.h> 54 prctl(PR_SET_NAME, (unsigned long) new_name, 0, 0, 0); 56 prctl(PR_SET_NAME, (unsigned long) new_name + len - 15, 0, 0, 0);
|
/bionic/libc/arch-arm/syscalls/ |
prctl.S | 6 ENTRY(prctl) function 18 END(prctl)
|
/external/chromium/android/ |
prefix.h | 32 #include <sys/prctl.h> 41 #define prctl() (0) macro
|
/bionic/libc/arch-x86/syscalls/ |
prctl.S | 6 ENTRY(prctl) function 33 END(prctl)
|
/external/chromium_org/base/threading/ |
platform_thread_android.cc | 8 #include <sys/prctl.h> 90 int err = prctl(PR_SET_NAME, name); 92 DPLOG(ERROR) << "prctl(PR_SET_NAME)";
|
platform_thread_linux.cc | 19 #include <sys/prctl.h> 62 // available everywhere and it's only benefit over using prctl directly is 64 int err = prctl(PR_SET_NAME, name); 67 DPLOG(ERROR) << "prctl(PR_SET_NAME)";
|
/external/chromium_org/content/common/ |
set_process_title.cc | 20 #include <sys/prctl.h> 66 prctl(PR_SET_NAME, base::FilePath(title).BaseName().value().c_str());
|
/hardware/qcom/camera/QCamera2/util/ |
QCameraCmdThread.cpp | 32 #include <sys/prctl.h> 110 prctl(PR_SET_NAME, (unsigned long)name, 0, 0, 0);
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
captest.c | 32 #include <sys/prctl.h> 145 rc = prctl(PR_GET_SECUREBITS, 1 << SECURE_NOROOT); 150 rc = prctl(PR_GET_SECUREBITS, 1 << SECURE_NOROOT_LOCKED); 157 rc = prctl(PR_GET_SECUREBITS, 1 << SECURE_NO_SETUID_FIXUP); 164 rc = prctl(PR_GET_SECUREBITS, 1 << SECURE_NO_SETUID_FIXUP_LOCKED);
|
/external/bluetooth/bluedroid/gki/ulinux/ |
gki_int.h | 23 #include <sys/prctl.h>
|
/external/qemu/distrib/sdl-1.2.15/src/thread/irix/ |
SDL_systhread.c | 30 #include <sys/prctl.h>
|
/external/e2fsprogs/lib/ss/ |
pager.c | 32 #include <sys/prctl.h> 49 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 0)
|
/frameworks/av/media/mediaserver/ |
main_mediaserver.cpp | 22 #include <sys/prctl.h> 53 //prctl(PR_SET_NAME, (unsigned long) "media.log", 0, 0, 0); 121 prctl(PR_SET_PDEATHSIG, SIGKILL); // if parent media.log dies before me, kill me also
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
hwc_vsync.cpp | 27 #include <sys/prctl.h> 58 prctl(PR_SET_NAME, (unsigned long) &thread_name, 0, 0, 0);
|
/hardware/qcom/display/msm8x26/libhwcomposer/ |
hwc_vsync.cpp | 27 #include <sys/prctl.h> 58 prctl(PR_SET_NAME, (unsigned long) &thread_name, 0, 0, 0);
|
/external/chromium_org/sandbox/linux/seccomp-bpf/ |
die.cc | 8 #include <sys/prctl.h>
|
/external/valgrind/main/include/ |
pub_tool_libcproc.h | 66 extern Int VG_(prctl) (Int option,
|
/bionic/linker/ |
debugger.cpp | 36 #include <sys/prctl.h> 64 // see man(2) prctl, specifically the section about PR_GET_NAME 129 if (prctl(PR_GET_NAME, (unsigned long)thread_name, 0, 0, 0) != 0) { 132 // short names are null terminated by prctl, but the man page
|
/cts/tests/tests/security/jni/ |
android_security_cts_NativeCodeTest.cpp | 21 #include <sys/prctl.h> 95 res = prctl(PR_SET_DUMPABLE, 1, 0, 0, 0); 97 ALOGE("prctl failed"); 148 * In this test, we use prctl(PTRACE_PEEKDATA) to force a write to 150 * this write succeeds, because prctl(PTRACE_PEEKDATA) uses the
|
/external/chromium/base/threading/ |
platform_thread_posix.cc | 23 #include <sys/prctl.h> 183 int err = prctl(PR_SET_NAME, name); 185 PLOG(ERROR) << "prctl(PR_SET_NAME)";
|