process-util: add helper that detects if we are a reaper process

This commit is contained in:
Lennart Poettering
2023-06-23 10:00:30 +02:00
parent da3cd87ab4
commit 09f9530baf
3 changed files with 64 additions and 0 deletions
+2
View File
@@ -199,3 +199,5 @@ int setpriority_closest(int priority);
_noreturn_ void freeze(void);
int get_process_threads(pid_t pid);
int is_reaper_process(void);