Home
last modified time | relevance | path

Searched refs:getppid (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v5.15/tools/testing/selftests/cgroup/
Dtest_kill.c48 int ppid = getppid(); in child_fn()
50 while (getppid() == ppid) in child_fn()
53 return getppid() == ppid; in child_fn()
211 ppid = getppid(); in forkbomb_fn()
213 while (getppid() == ppid) in forkbomb_fn()
216 return getppid() == ppid; in forkbomb_fn()
Dtest_freezer.c123 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()
Dtest_memcontrol.c199 int ppid = getppid(); in alloc_pagecache_50M_noexit()
204 while (getppid() == ppid) in alloc_pagecache_50M_noexit()
212 int ppid = getppid(); in alloc_anon_noexit()
217 while (getppid() == ppid) in alloc_anon_noexit()
Dtest_core.c47 int ppid = getppid(); in alloc_and_touch_anon_noexit()
61 while (getppid() == ppid) in alloc_and_touch_anon_noexit()
/Linux-v5.15/tools/testing/selftests/ptrace/
Dpeeksiginfo.c168 pid_t ppid = getppid(); in main()
170 if (ppid != getppid()) in main()
/Linux-v5.15/tools/testing/selftests/vm/
Dmemfd_secret.c98 if (process_vm_readv(getppid(), &liov, 1, &riov, 1, 0) < 0) { in try_process_vm_read()
109 pid_t ppid = getppid(); in try_ptrace()
/Linux-v5.15/tools/perf/bench/
Dsyscall.c44 getppid(); in bench_syscall_basic()
/Linux-v5.15/tools/testing/selftests/powerpc/security/
Dflush_utils.c35 getppid(); in syscall_loop()
/Linux-v5.15/tools/testing/selftests/seccomp/
Dseccomp_bpf.c578 pid_t parent = getppid(); in TEST()
665 pid_t parent = getppid(); in TEST_SIGNAL()
698 pid_t parent = getppid(); in TEST_SIGNAL()
737 pid_t parent = getppid(); in TEST_SIGNAL()
949 pid_t parent = getppid(); in TEST()
967 pid_t parent = getppid(); in TEST()
989 pid_t parent = getppid(); in TEST()
1014 pid_t parent = getppid(); in TEST()
1224 parent = getppid(); in TEST_F()
1250 parent = getppid(); in TEST_F_SIGNAL()
[all …]
/Linux-v5.15/tools/perf/tests/
Dthread-map.c115 asprintf(&str, "%d,%d", getpid(), getppid()) >= 0); in test__thread_map_remove()
Dmmap-basic.c41 pid_t (*syscalls[])(void) = { (void *)getsid, getppid, (void*)getpgid }; in test__basic_mmap()
/Linux-v5.15/arch/um/os-Linux/
Dstart_up.c32 int pid = os_getpid(), ppid = getppid(); in ptrace_child()
/Linux-v5.15/tools/testing/selftests/uevent/
Duevent_filtering.c226 ppid = getppid(); in set_death_signal()
/Linux-v5.15/tools/perf/Documentation/
Dperf-bench.txt147 This uses a single thread simply doing getppid(2), which is a simple syscall where the result is not
/Linux-v5.15/Documentation/staging/
Dstatic-keys.rst214 As an example, let's add the following branch to 'getppid()', such that the
217 SYSCALL_DEFINE0(getppid)
/Linux-v5.15/arch/mips/kernel/syscalls/
Dsyscall_n64.tbl118 108 n64 getppid sys_getppid
Dsyscall_n32.tbl118 108 n32 getppid sys_getppid
/Linux-v5.15/arch/ia64/kernel/syscalls/
Dsyscall.tbl30 18 common getppid sys_getppid
/Linux-v5.15/tools/perf/arch/mips/entry/syscalls/
Dsyscall_n64.tbl118 108 n64 getppid sys_getppid
/Linux-v5.15/arch/xtensa/kernel/syscalls/
Dsyscall.tbl164 150 common getppid sys_getppid
/Linux-v5.15/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl121 110 common getppid sys_getppid
/Linux-v5.15/arch/x86/entry/syscalls/
Dsyscall_64.tbl121 110 common getppid sys_getppid
/Linux-v5.15/arch/arm/tools/
Dsyscall.tbl78 64 common getppid sys_getppid
/Linux-v5.15/arch/parisc/kernel/syscalls/
Dsyscall.tbl77 64 common getppid sys_getppid
/Linux-v5.15/arch/m68k/kernel/syscalls/
Dsyscall.tbl74 64 common getppid sys_getppid

12