Symbol: getppid
arch/um/os-Linux/start_up.c
44
int pid = os_getpid(), ppid = getppid();
kernel/sys.c
1016
SYSCALL_DEFINE0(getppid)
tools/perf/bench/syscall.c
101
getppid();
tools/perf/tests/mmap-basic.c
44
pid_t (*syscalls[])(void) = { (void *)getsid, getppid, (void*)getpgid };
tools/perf/tests/thread-map.c
116
asprintf(&str, "%d,%d", getpid(), getppid()) >= 0);
tools/perf/util/evlist.c
1541
if (sigqueue(getppid(), SIGUSR1, val))
tools/power/x86/intel-speed-select/isst-daemon.c
155
if (getppid() == 1)
tools/testing/selftests/bpf/benchs/bench_local_storage_rcu_tasks_trace.c
150
if (getppid() != runner_pid) {
tools/testing/selftests/bpf/cgroup_helpers.c
47
format_cgroup_path_pid(buf, path, getppid())
tools/testing/selftests/cgroup/test_core.c
57
int ppid = getppid();
tools/testing/selftests/cgroup/test_core.c
71
while (getppid() == ppid)
tools/testing/selftests/cgroup/test_freezer.c
123
int ppid = getppid();
tools/testing/selftests/cgroup/test_freezer.c
125
while (getppid() == ppid)
tools/testing/selftests/cgroup/test_freezer.c
128
return getppid() == ppid;
tools/testing/selftests/cgroup/test_freezer.c
347
ppid = getppid();
tools/testing/selftests/cgroup/test_freezer.c
349
while (getppid() == ppid)
tools/testing/selftests/cgroup/test_freezer.c
352
return getppid() == ppid;
tools/testing/selftests/cgroup/test_kill.c
212
ppid = getppid();
tools/testing/selftests/cgroup/test_kill.c
214
while (getppid() == ppid)
tools/testing/selftests/cgroup/test_kill.c
217
return getppid() == ppid;
tools/testing/selftests/cgroup/test_kill.c
48
int ppid = getppid();
tools/testing/selftests/cgroup/test_kill.c
50
while (getppid() == ppid)
tools/testing/selftests/cgroup/test_kill.c
53
return getppid() == ppid;
tools/testing/selftests/cgroup/test_memcontrol.c
393
int ppid = getppid();
tools/testing/selftests/cgroup/test_memcontrol.c
398
while (getppid() == ppid)
tools/testing/selftests/cgroup/test_memcontrol.c
406
int ppid = getppid();
tools/testing/selftests/cgroup/test_memcontrol.c
419
while (getppid() == ppid)
tools/testing/selftests/landlock/audit_test.c
103
EXPECT_EQ(-1, kill(getppid(), 0));
tools/testing/selftests/landlock/audit_test.c
107
getppid(), &denial_dom));
tools/testing/selftests/landlock/audit_test.c
232
child_data.parent_pid = getppid();
tools/testing/selftests/landlock/audit_test.c
378
EXPECT_EQ(-1, kill(getppid(), 0));
tools/testing/selftests/landlock/audit_test.c
385
getppid(), self->domain_id));
tools/testing/selftests/landlock/audit_test.c
392
getppid(), self->domain_id));
tools/testing/selftests/landlock/audit_test.c
404
EXPECT_EQ(-1, kill(getppid(), 0));
tools/testing/selftests/landlock/wait-pipe-sandbox.c
125
if (!kill(getppid(), 0)) {
tools/testing/selftests/landlock/wait-pipe-sandbox.c
67
if (!kill(getppid(), 0)) {
tools/testing/selftests/landlock/wait-pipe-sandbox.c
90
if (!kill(getppid(), 0)) {
tools/testing/selftests/mm/memfd_secret.c
141
if (process_vm_readv(getppid(), &liov, 1, &riov, 1, 0) < 0) {
tools/testing/selftests/mm/memfd_secret.c
152
pid_t ppid = getppid();
tools/testing/selftests/mm/migration.c
168
if (getppid() == 1)
tools/testing/selftests/mm/migration.c
240
if (getppid() == 1)
tools/testing/selftests/mm/migration.c
300
if (getppid() == 1)
tools/testing/selftests/mm/mrelease_test.c
22
int ppid = getppid();
tools/testing/selftests/mm/mrelease_test.c
40
while (getppid() == ppid && timeout > 0) {
tools/testing/selftests/net/af_unix/scm_pidfd.c
226
if (parent_pid != getppid()) {
tools/testing/selftests/net/af_unix/scm_pidfd.c
227
log_err("wrong SCM_PIDFD %d != %d", parent_pid, getppid());
tools/testing/selftests/net/af_unix/scm_pidfd.c
473
if (peer_cred.pid != getppid()) {
tools/testing/selftests/net/af_unix/scm_pidfd.c
474
log_err("peer_cred.pid != getppid(): %d != %d", peer_cred.pid, getppid());
tools/testing/selftests/nolibc/nolibc-test.c
1375
CASE_TEST(getppid); EXPECT_SYSNE(1, getppid(), -1); break;
tools/testing/selftests/pidfd/pidfd_open_test.c
169
if (info.ppid != getppid()) {
tools/testing/selftests/powerpc/security/flush_utils.c
36
getppid();
tools/testing/selftests/proc/proc-empty-vm.c
473
kill(getppid(), SIGTERM);
tools/testing/selftests/ptrace/peeksiginfo.c
168
pid_t ppid = getppid();
tools/testing/selftests/ptrace/peeksiginfo.c
170
if (ppid != getppid())
tools/testing/selftests/seccomp/seccomp_bpf.c
1002
pid_t parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
1024
pid_t parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
1049
pid_t parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
1259
parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
1285
parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
1314
parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
1341
parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
1366
parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
1391
parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
1413
parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
1435
parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
1456
parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
1478
parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
1498
parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
2175
self->parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
3219
pid_t parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
613
pid_t parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
700
pid_t parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
733
pid_t parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
772
pid_t parent = getppid();
tools/testing/selftests/seccomp/seccomp_bpf.c
984
pid_t parent = getppid();
tools/testing/selftests/uevent/uevent_filtering.c
228
ppid = getppid();
tools/tracing/rtla/src/actions.c
240
pid = getppid();