| /linux/tools/testing/selftests/cgroup/ |
| H A D | test_kill.c | 48 int ppid = getppid(); in child_fn() 50 while (getppid() == ppid) in child_fn() 53 return getppid() == ppid; in child_fn() 212 ppid = getppid(); in forkbomb_fn() 214 while (getppid() == ppid) in forkbomb_fn() 217 return getppid() == ppid; in forkbomb_fn()
|
| H A D | test_freezer.c | 123 int ppid = getppid(); in child_fn() 125 while (getppid() == ppid) in child_fn() 128 return getppid() == ppid; in child_fn() 347 ppid = getppid(); in forkbomb_fn() 349 while (getppid() == ppid) in forkbomb_fn() 352 return getppid() == ppid; in forkbomb_fn()
|
| H A D | test_memcontrol.c | 393 int ppid = getppid(); in alloc_pagecache_50M_noexit() 398 while (getppid() == ppid) in alloc_pagecache_50M_noexit() 406 int ppid = getppid(); in alloc_anon_noexit() 419 while (getppid() == ppid) in alloc_anon_noexit()
|
| H A D | test_core.c | 57 int ppid = getppid(); in alloc_and_touch_anon_noexit() 71 while (getppid() == ppid) in alloc_and_touch_anon_noexit()
|
| /linux/tools/testing/selftests/landlock/ |
| H A D | audit_test.c | 103 EXPECT_EQ(-1, kill(getppid(), 0)); in TEST_F() 107 getppid(), &denial_dom)); in TEST_F() 232 child_data.parent_pid = getppid(); in TEST_F() 378 EXPECT_EQ(-1, kill(getppid(), 0)); in TEST_F() 385 getppid(), self->domain_id)); in TEST_F() 392 getppid(), self->domain_id)); in TEST_F() 404 EXPECT_EQ(-1, kill(getppid(), 0)); in TEST_F()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | mrelease_test.c | 22 int ppid = getppid(); in alloc_noexit() 40 while (getppid() == ppid && timeout > 0) { in alloc_noexit()
|
| H A D | migration.c | 168 if (getppid() == 1) 240 if (getppid() == 1) 300 if (getppid() == 1)
|
| H A D | memfd_secret.c | 141 if (process_vm_readv(getppid(), &liov, 1, &riov, 1, 0) < 0) { in try_process_vm_read() 152 pid_t ppid = getppid(); in try_ptrace()
|
| /linux/tools/testing/selftests/net/af_unix/ |
| H A D | scm_pidfd.c | 226 if (parent_pid != getppid()) { in cmsg_check() 227 log_err("wrong SCM_PIDFD %d != %d", parent_pid, getppid()); in cmsg_check() 473 if (peer_cred.pid != getppid()) { in client() 474 log_err("peer_cred.pid != getppid(): %d != %d", peer_cred.pid, getppid()); in client()
|
| /linux/tools/testing/selftests/ptrace/ |
| H A D | peeksiginfo.c | 168 pid_t ppid = getppid(); in main() 170 if (ppid != getppid()) in main()
|
| /linux/tools/testing/selftests/powerpc/security/ |
| H A D | flush_utils.c | 36 getppid(); in syscall_loop()
|
| /linux/tools/testing/selftests/seccomp/ |
| H A D | seccomp_bpf.c | 613 pid_t parent = getppid(); in TEST() 700 pid_t parent = getppid(); in TEST_SIGNAL() 733 pid_t parent = getppid(); in TEST_SIGNAL() 772 pid_t parent = getppid(); in TEST_SIGNAL() 984 pid_t parent = getppid(); in TEST() 1002 pid_t parent = getppid(); in TEST() 1024 pid_t parent = getppid(); in TEST() 1049 pid_t parent = getppid(); in TEST() 1259 parent = getppid(); in TEST_F() 1285 parent = getppid(); in TEST_F_SIGNAL() [all …]
|
| /linux/tools/perf/bench/ |
| H A D | syscall.c | 101 getppid(); in bench_syscall_common() 121 name = "getppid()"; in bench_syscall_common()
|
| /linux/tools/perf/tests/ |
| H A D | thread-map.c | 116 asprintf(&str, "%d,%d", getpid(), getppid()) >= 0); in test__thread_map_remove()
|
| H A D | mmap-basic.c | 44 pid_t (*syscalls[])(void) = { (void *)getsid, getppid, (void*)getpgid }; in test__basic_mmap()
|
| /linux/tools/testing/selftests/pidfd/ |
| H A D | pidfd_open_test.c | 169 if (info.ppid != getppid()) { in main()
|
| /linux/tools/testing/selftests/bpf/benchs/ |
| H A D | bench_local_storage_rcu_tasks_trace.c | 150 if (getppid() != runner_pid) { in local_storage_tasks_trace_setup()
|
| /linux/tools/tracing/rtla/src/ |
| H A D | actions.c | 240 pid = getppid(); in actions_perform()
|
| /linux/tools/power/x86/intel-speed-select/ |
| H A D | isst-daemon.c | 155 if (getppid() == 1)
|
| /linux/tools/testing/selftests/proc/ |
| H A D | proc-empty-vm.c | 473 kill(getppid(), SIGTERM); in main()
|
| /linux/tools/testing/selftests/uevent/ |
| H A D | uevent_filtering.c | 228 ppid = getppid(); in set_death_signal()
|
| /linux/arch/um/os-Linux/ |
| H A D | start_up.c | 44 int pid = os_getpid(), ppid = getppid(); in ptrace_child()
|
| /linux/Documentation/staging/ |
| H A D | static-keys.rst | 211 As an example, let's add the following branch to 'getppid()', such that the 214 SYSCALL_DEFINE0(getppid)
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | cgroup_helpers.c | 47 format_cgroup_path_pid(buf, path, getppid())
|
| /linux/Documentation/admin-guide/ |
| H A D | workload-tracing.rst | 332 | getppid | 10000001 | Process Mgmt | sys_getpid() | 502 | getppid | 1 | Process Mgmt. | sys_getppid() | 586 | getppid | 1 | Process Mgmt. | sys_getppid() |
|