process-util: minor follow-up for pidfd_spawn

This commit is contained in:
Mike Yuan
2024-02-06 12:26:38 +00:00
committed by Luca Boccassi
parent 027d9f9096
commit c90335403c
3 changed files with 27 additions and 15 deletions
+6 -1
View File
@@ -238,7 +238,12 @@ int get_process_threads(pid_t pid);
int is_reaper_process(void);
int make_reaper_process(bool b);
int posix_spawn_wrapper(const char *path, char *const *argv, char *const *envp, const char *cgroup, PidRef *ret_pidref);
int posix_spawn_wrapper(
const char *path,
char * const *argv,
char * const *envp,
const char *cgroup,
PidRef *ret_pidref);
int proc_dir_open(DIR **ret);
int proc_dir_read(DIR *d, pid_t *ret);