sd-event: always operate on child source via pidfd (#36480)

This commit is contained in:
Yu Watanabe
2025-02-23 04:41:28 +09:00
committed by GitHub
4 changed files with 44 additions and 64 deletions
+4
View File
@@ -61,6 +61,10 @@ int get_process_umask(pid_t pid, mode_t *ret);
int container_get_leader(const char *machine, pid_t *pid);
static inline bool SIGINFO_CODE_IS_DEAD(int code) {
return IN_SET(code, CLD_EXITED, CLD_KILLED, CLD_DUMPED);
}
int wait_for_terminate(pid_t pid, siginfo_t *status);
typedef enum WaitFlags {