Searched refs:prctl (Results 1 - 25 of 91) sorted by relevance

1234

/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dthread_lister.c37 # 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/
H A Dthread_lister.c37 # 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/strace/tests/
H A Dset_ptracer_any.c7 # include <sys/prctl.h>
15 (void) prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY);
/external/chromium_org/tools/android/run_pie/
H A Drun_pie.c8 #include <sys/prctl.h>
41 prctl(PR_SET_NAME, (long) argv[0]);
/external/chromium_org/base/threading/
H A Dplatform_thread_android.cc8 #include <sys/prctl.h>
96 int err = prctl(PR_SET_NAME, name);
98 DPLOG(ERROR) << "prctl(PR_SET_NAME)";
H A Dplatform_thread_linux.cc19 #include <sys/prctl.h>
64 // available everywhere and it's only benefit over using prctl directly is
66 int err = prctl(PR_SET_NAME, name);
69 DPLOG(ERROR) << "prctl(PR_SET_NAME)";
/external/chromium_org/content/common/
H A Dset_process_title.cc20 #include <sys/prctl.h>
69 prctl(PR_SET_NAME, base::FilePath(title).BaseName().value().c_str());
/external/chromium_org/sandbox/linux/services/
H A Dyama.cc8 #include <sys/prctl.h>
41 const int ret = prctl(PR_SET_PTRACER, set_ptracer_arg);
/external/libcap-ng/libcap-ng-0.7/utils/
H A Dcaptest.c32 #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/linux-tools-perf/perf-3.12.0/tools/perf/tests/
H A Dkeep-tracking.c3 #include <sys/prctl.h>
108 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0));
130 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0));
H A Dperf-time-to-tsc.c5 #include <sys/prctl.h>
109 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm1, 0, 0, 0));
114 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm2, 0, 0, 0));
/external/bluetooth/bluedroid/gki/ulinux/
H A Dgki_int.h23 #include <sys/prctl.h>
/external/chromium_org/third_party/skia/experimental/webtry/
H A Dseccomp_bpf.h28 #include <sys/prctl.h>
H A Dmain.cpp52 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
53 perror("prctl(NO_NEW_PRIVS)");
58 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) {
59 perror("prctl(SECCOMP)");
/external/qemu/distrib/sdl-1.2.15/src/thread/irix/
H A DSDL_systhread.c30 #include <sys/prctl.h>
/external/skia/experimental/webtry/
H A Dseccomp_bpf.h26 #include <sys/prctl.h>
H A Dmain.cpp50 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) {
51 perror("prctl(NO_NEW_PRIVS)");
56 if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)) {
57 perror("prctl(SECCOMP)");
/external/e2fsprogs/lib/ss/
H A Dpager.c35 #include <sys/prctl.h>
51 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 0)
/external/bluetooth/bluedroid/hci/src/
H A Dbtsnoop_net.c28 #include <sys/prctl.h>
77 prctl(PR_SET_NAME, (unsigned long)LISTEN_THREAD_NAME_, 0, 0, 0);
/external/chromium_org/sandbox/linux/seccomp-bpf/
H A Ddie.cc10 #include <sys/prctl.h>
/external/compiler-rt/lib/asan/tests/
H A Dasan_test_utils.h41 # include <sys/prctl.h>
/external/valgrind/main/include/
H A Dpub_tool_libcproc.h69 extern Int VG_(prctl) (Int option,
/external/valgrind/main/memcheck/tests/
H A Dthreadname.c6 #include <sys/prctl.h>
/external/bluetooth/bluedroid/osi/src/
H A Dthread.c25 #include <sys/prctl.h>
148 if (prctl(PR_SET_NAME, (unsigned long)thread->name) == -1) {
/external/e2fsprogs/lib/blkid/
H A Dcache.c25 #include <sys/prctl.h>
45 if (prctl(PR_GET_DUMPABLE, 0, 0, 0, 0) == 0)

Completed in 1132 milliseconds

1234