Home
last modified time | relevance | path

Searched refs:PR_SET_NAME (Results 1 – 22 of 22) sorted by relevance

/external/strace/tests/
Dprctl-name.c37 #if defined HAVE_PRCTL && defined PR_GET_NAME && defined PR_SET_NAME
52 rc = prctl(PR_SET_NAME, NULL); in main()
56 rc = prctl(PR_SET_NAME, name + len - i); in main()
69 rc = prctl(PR_SET_NAME, name + len - i); in main()
/external/strace/tests-m32/
Dprctl-name.c37 #if defined HAVE_PRCTL && defined PR_GET_NAME && defined PR_SET_NAME
52 rc = prctl(PR_SET_NAME, NULL); in main()
56 rc = prctl(PR_SET_NAME, name + len - i); in main()
69 rc = prctl(PR_SET_NAME, name + len - i); in main()
/external/strace/tests-mx32/
Dprctl-name.c37 #if defined HAVE_PRCTL && defined PR_GET_NAME && defined PR_SET_NAME
52 rc = prctl(PR_SET_NAME, NULL); in main()
56 rc = prctl(PR_SET_NAME, name + len - i); in main()
69 rc = prctl(PR_SET_NAME, name + len - i); in main()
/external/strace/xlat/
Dprctl_options.h44 #if !(defined(PR_SET_NAME) || (defined(HAVE_DECL_PR_SET_NAME) && HAVE_DECL_PR_SET_NAME))
45 # define PR_SET_NAME 15 macro
166 XLAT(PR_SET_NAME),
Dprctl_options.in15 PR_SET_NAME 15
/external/autotest/client/site_tests/kernel_PerfEventRename/src/
Dperf-rename-test.c36 if (prctl(PR_SET_NAME, name) < 0) { in main()
/external/libchrome/base/threading/
Dplatform_thread_linux.cc86 int err = prctl(PR_SET_NAME, name.c_str()); in SetName()
/external/libcap/libcap/include/uapi/linux/
Dprctl.h53 #define PR_SET_NAME 15 /* Set process name */ macro
/external/drm_hwcomposer/
Dworker.cpp81 prctl(PR_SET_NAME, name_.c_str()); in InternalRoutine()
/external/kernel-headers/original/uapi/linux/
Dprctl.h55 #define PR_SET_NAME 15 /* Set process name */ macro
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux_libcdep.cc139 #ifdef PR_SET_NAME in SanitizerSetThreadName()
140 return 0 == prctl(PR_SET_NAME, (unsigned long)name, 0, 0, 0); // NOLINT in SanitizerSetThreadName()
Dsanitizer_common_interceptors.inc910 static const int PR_SET_NAME = 15;
912 if (option == PR_SET_NAME) {
/external/minijail/linux-x86/
Dlibconstants.gen.c944 #ifdef PR_SET_NAME
945 { "PR_SET_NAME", (unsigned long) PR_SET_NAME },
/external/webrtc/webrtc/base/
Dplatform_thread.cc73 prctl(PR_SET_NAME, reinterpret_cast<unsigned long>(name)); in SetCurrentThreadName()
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dsyscall_parameters_restrictions.cc154 .CASES((PR_GET_NAME, PR_SET_NAME, PR_GET_DUMPABLE, PR_SET_DUMPABLE in RestrictPrctl()
/external/v8/src/base/platform/
Dplatform-posix.cc589 #elif defined(PR_SET_NAME) in SetThreadName()
590 prctl(PR_SET_NAME, in SetThreadName()
/external/strace/
Dprctl.c242 case PR_SET_NAME: in SYS_FUNC()
DChangeLog8682 tests: check decoding of prctl PR_GET_NAME/PR_SET_NAME operations.
8689 prctl: fix printing of PR_SET_NAME's argument.
8691 instead of printstr to print the argument of PR_SET_NAME and PR_GET_NAME
/external/compiler-rt/lib/asan/tests/
Dasan_test.cc862 #if defined(__linux__) && defined(PR_SET_NAME) in TryToSetThreadName()
863 return 0 == prctl(PR_SET_NAME, (unsigned long)name, 0, 0, 0); in TryToSetThreadName()
/external/valgrind/memcheck/tests/x86-linux/
Dscalar.c782 SY(__NR_prctl, x0 + PR_SET_NAME, buf16); SUCC; in main()
787 SY(__NR_prctl, x0 + PR_SET_NAME, buf17); SUCC; in main()
/external/minijail/
Dlibminijail.c2348 prctl(PR_SET_NAME, "minijail-init"); in minijail_run_internal()
/external/valgrind/
DNEWS234 379039 syscall wrapper for prctl(PR_SET_NAME) must not check more than 16 bytes