Searched refs:getppid (Results 1 - 24 of 24) sorted by relevance
/linux-master/tools/testing/selftests/cgroup/ |
H A D | test_kill.c | 48 int ppid = getppid(); 50 while (getppid() == ppid) 53 return getppid() == ppid; 211 ppid = getppid(); 213 while (getppid() == ppid) 216 return getppid() == ppid;
|
H A D | test_freezer.c | 123 int ppid = getppid(); 125 while (getppid() == ppid) 128 return getppid() == ppid; 347 ppid = getppid(); 349 while (getppid() == ppid) 352 return getppid() == ppid;
|
H A D | test_memcontrol.c | 201 int ppid = getppid(); 206 while (getppid() == ppid) 214 int ppid = getppid(); 227 while (getppid() == ppid)
|
H A D | test_core.c | 50 int ppid = getppid(); 64 while (getppid() == ppid)
|
/linux-master/tools/testing/selftests/mm/ |
H A D | mrelease_test.c | 22 int ppid = getppid(); 40 while (getppid() == ppid && timeout > 0) {
|
H A D | memfd_secret.c | 101 if (process_vm_readv(getppid(), &liov, 1, &riov, 1, 0) < 0) { 112 pid_t ppid = getppid();
|
H A D | migration.c | 162 if (getppid() == 1)
|
/linux-master/tools/testing/selftests/powerpc/security/ |
H A D | flush_utils.c | 36 getppid();
|
/linux-master/tools/testing/selftests/net/af_unix/ |
H A D | scm_pidfd.c | 203 if (parent_pid != getppid()) { 204 log_err("wrong SCM_PIDFD %d != %d", parent_pid, getppid()); 360 if (peer_cred.pid != getppid()) { 361 log_err("peer_cred.pid != getppid(): %d != %d", peer_cred.pid, getppid());
|
/linux-master/tools/perf/bench/ |
H A D | syscall.c | 90 getppid(); 117 name = "getppid()";
|
/linux-master/tools/testing/selftests/ptrace/ |
H A D | peeksiginfo.c | 168 pid_t ppid = getppid(); 170 if (ppid != getppid())
|
/linux-master/tools/perf/tests/ |
H A D | thread-map.c | 116 asprintf(&str, "%d,%d", getpid(), getppid()) >= 0);
|
H A D | mmap-basic.c | 40 const char *syscall_names[] = { "getsid", "getppid", "getpgid", }; 41 pid_t (*syscalls[])(void) = { (void *)getsid, getppid, (void*)getpgid };
|
/linux-master/tools/testing/selftests/bpf/benchs/ |
H A D | bench_local_storage_rcu_tasks_trace.c | 150 if (getppid() != runner_pid) {
|
/linux-master/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 591 pid_t parent = getppid(); 599 /* getppid() should succeed and be logged (no check for logging) */ 678 pid_t parent = getppid(); 711 pid_t parent = getppid(); 750 pid_t parent = getppid(); 962 pid_t parent = getppid(); 980 pid_t parent = getppid(); 1002 pid_t parent = getppid(); 1027 pid_t parent = getppid(); 1237 parent = getppid(); [all...] |
/linux-master/tools/power/x86/intel-speed-select/ |
H A D | isst-daemon.c | 155 if (getppid() == 1)
|
/linux-master/arch/um/os-Linux/ |
H A D | start_up.c | 32 int pid = os_getpid(), ppid = getppid();
|
/linux-master/tools/testing/selftests/proc/ |
H A D | proc-empty-vm.c | 476 kill(getppid(), SIGTERM);
|
/linux-master/tools/testing/selftests/uevent/ |
H A D | uevent_filtering.c | 228 ppid = getppid();
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | cgroup_helpers.c | 46 format_cgroup_path_pid(buf, path, getppid())
|
/linux-master/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | 906 CASE_TEST(getppid); EXPECT_SYSNE(1, getppid(), -1); break;
|
/linux-master/tools/include/nolibc/ |
H A D | sys.h | 445 * pid_t getppid(void); 455 pid_t getppid(void) function
|
/linux-master/tools/perf/util/ |
H A D | evlist.c | 1481 if (sigqueue(getppid(), SIGUSR1, val))
|
/linux-master/kernel/ |
H A D | sys.c | 975 SYSCALL_DEFINE0(getppid)
|
Completed in 236 milliseconds