Searched refs:pid2 (Results 1 – 8 of 8) sorted by relevance
/systemd-251/src/test/ |
D | test-barrier.c | 46 pid_t pid1, pid2; \ 62 pid2 = fork(); \ 63 assert_se(pid2 >= 0); \ 64 if (pid2 == 0) { \ 117 TEST_BARRIER_WAIT_SUCCESS(pid2)); 140 TEST_BARRIER_WAIT_SUCCESS(pid2)); 167 TEST_BARRIER_WAIT_SUCCESS(pid2)); 192 TEST_BARRIER_WAIT_SUCCESS(pid2)); 213 TEST_BARRIER_WAIT_SUCCESS(pid2)); 236 TEST_BARRIER_WAIT_SUCCESS(pid2)); [all …]
|
D | test-util.c | 132 pid_t parent, pid, pid2; in TEST() local 141 pid2 = raw_getpid(); in TEST() 143 pid, getpid(), pid2); in TEST() 145 assert_se(pid2 != parent); in TEST() 150 assert_se(pid2 == parent); in TEST()
|
D | test-namespace.c | 88 pid_t pid1, pid2, pid3; in test_shareable_ns() local 108 pid2 = fork(); in test_shareable_ns() 109 assert_se(pid2 >= 0); in test_shareable_ns() 111 if (pid2 == 0) { in test_shareable_ns() 131 r = wait_for_terminate(pid2, &si); in test_shareable_ns()
|
/systemd-251/src/journal/ |
D | test-journal-syslog.c | 13 _cleanup_free_ char *ident2 = NULL, *pid2 = NULL; in test_syslog_parse_identifier_one() local 16 ret2 = syslog_parse_identifier(&buf, &ident2, &pid2); in test_syslog_parse_identifier_one() 20 assert_se(pid == pid2 || streq_ptr(pid, pid2)); in test_syslog_parse_identifier_one()
|
/systemd-251/src/libsystemd/sd-event/ |
D | test-event.c | 557 pid_t pid, pid2; in TEST() local 576 pid2 = fork(); in TEST() 577 if (pid2 == 0) in TEST() 587 assert_se(sd_event_add_child(e, &t, pid2, WEXITED, pidfd_handler, INT_TO_PTR('q')) >= 0); in TEST() 593 assert_se(kill(pid2, 0) >= 0); in TEST() 598 assert_se(kill(pid2, 0) < 0 && errno == ESRCH); in TEST()
|
/systemd-251/src/basic/ |
D | missing_syscall.h | 173 static inline int missing_kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long … in missing_kcmp() argument 175 return syscall(__NR_kcmp, pid1, pid2, type, idx1, idx2); in missing_kcmp()
|
/systemd-251/shell-completion/bash/ |
D | systemd-nspawn | 66 … --keep-unit -n --network-veth -j -x --ephemeral -a --as-pid2 -U --suppress-sync=yes'
|
/systemd-251/ |
D | NEWS | 8448 * systemd-nspawn gained a new --as-pid2 switch that invokes any
|