From: Michal Sekletar Date: Sun, 24 Jan 2016 15:08:36 +0000 (+0100) Subject: shutdown: complain if process excluded from killing spree runs of the same rootfs... X-Git-Tag: v229.1~1^2~47 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=98b65e8dd297780cff957bba6e996bd2291e1487;p=elogind.git shutdown: complain if process excluded from killing spree runs of the same rootfs as PID1 --- diff --git a/src/basic/process-util.h b/src/basic/process-util.h index 89cd3af8b..dc6d776f8 100644 --- a/src/basic/process-util.h +++ b/src/basic/process-util.h @@ -75,6 +75,7 @@ int getenv_for_pid(pid_t pid, const char *field, char **_value); bool pid_is_alive(pid_t pid); bool pid_is_unwaited(pid_t pid); +int pid_from_same_root_fs(pid_t pid); bool is_main_thread(void);