chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
service: watch main pid even in final states
[elogind.git]
/
src
/
shared
/
util.h
diff --git
a/src/shared/util.h
b/src/shared/util.h
index ddb35181abbdcca5d92e84177cea0e6c2ad50d70..3e0a6d5c1cd15a19f1af7ec8d69de649940f5b61 100644
(file)
--- a/
src/shared/util.h
+++ b/
src/shared/util.h
@@
-804,3
+804,5
@@
int container_get_leader(const char *machine, pid_t *pid);
int namespace_open(pid_t pid, int *pidns_fd, int *mntns_fd, int *root_fd);
int namespace_enter(int pidns_fd, int mntns_fd, int root_fd);
+
+bool pid_valid(pid_t pid);