Searched refs:getppid (Results 1 - 24 of 24) sorted by relevance

/linux-master/tools/testing/selftests/cgroup/
H A Dtest_kill.c48 int ppid = getppid();
50 while (getppid() == ppid)
53 return getppid() == ppid;
211 ppid = getppid();
213 while (getppid() == ppid)
216 return getppid() == ppid;
H A Dtest_freezer.c123 int ppid = getppid();
125 while (getppid() == ppid)
128 return getppid() == ppid;
347 ppid = getppid();
349 while (getppid() == ppid)
352 return getppid() == ppid;
H A Dtest_memcontrol.c201 int ppid = getppid();
206 while (getppid() == ppid)
214 int ppid = getppid();
227 while (getppid() == ppid)
H A Dtest_core.c50 int ppid = getppid();
64 while (getppid() == ppid)
/linux-master/tools/testing/selftests/mm/
H A Dmrelease_test.c22 int ppid = getppid();
40 while (getppid() == ppid && timeout > 0) {
H A Dmemfd_secret.c101 if (process_vm_readv(getppid(), &liov, 1, &riov, 1, 0) < 0) {
112 pid_t ppid = getppid();
H A Dmigration.c162 if (getppid() == 1)
/linux-master/tools/testing/selftests/powerpc/security/
H A Dflush_utils.c36 getppid();
/linux-master/tools/testing/selftests/net/af_unix/
H A Dscm_pidfd.c203 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 Dsyscall.c90 getppid();
117 name = "getppid()";
/linux-master/tools/testing/selftests/ptrace/
H A Dpeeksiginfo.c168 pid_t ppid = getppid();
170 if (ppid != getppid())
/linux-master/tools/perf/tests/
H A Dthread-map.c116 asprintf(&str, "%d,%d", getpid(), getppid()) >= 0);
H A Dmmap-basic.c40 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 Dbench_local_storage_rcu_tasks_trace.c150 if (getppid() != runner_pid) {
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c591 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 Disst-daemon.c155 if (getppid() == 1)
/linux-master/arch/um/os-Linux/
H A Dstart_up.c32 int pid = os_getpid(), ppid = getppid();
/linux-master/tools/testing/selftests/proc/
H A Dproc-empty-vm.c476 kill(getppid(), SIGTERM);
/linux-master/tools/testing/selftests/uevent/
H A Duevent_filtering.c228 ppid = getppid();
/linux-master/tools/testing/selftests/bpf/
H A Dcgroup_helpers.c46 format_cgroup_path_pid(buf, path, getppid())
/linux-master/tools/testing/selftests/nolibc/
H A Dnolibc-test.c906 CASE_TEST(getppid); EXPECT_SYSNE(1, getppid(), -1); break;
/linux-master/tools/include/nolibc/
H A Dsys.h445 * pid_t getppid(void);
455 pid_t getppid(void) function
/linux-master/tools/perf/util/
H A Devlist.c1481 if (sigqueue(getppid(), SIGUSR1, val))
/linux-master/kernel/
H A Dsys.c975 SYSCALL_DEFINE0(getppid)

Completed in 236 milliseconds