X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Fshared%2Futil.h;h=a41348e32ead839f63c583278aa512913656b80e;hb=9f5650aecb22a1d864b2c0b749910556795f1490;hp=7c88dad631d16fe0c705c759754a86a583cb0ea2;hpb=b6e2f3293d0f9a821819d96038eec2a19062151f;p=elogind.git diff --git a/src/shared/util.h b/src/shared/util.h index 7c88dad63..a41348e32 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -858,7 +858,8 @@ 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); +bool pid_is_alive(pid_t pid); +bool pid_is_unwaited(pid_t pid); int getpeercred(int fd, struct ucred *ucred); int getpeersec(int fd, char **ret);