shutdown: complain if process excluded from killing spree runs of the same rootfs as PID1

This commit is contained in:
Michal Sekletar
2016-01-26 14:13:13 +01:00
parent afb3e6335a
commit 1359fffa57
4 changed files with 31 additions and 7 deletions
+1
View File
@@ -70,6 +70,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);