Searched refs:pidns_fd (Results 1 - 2 of 2) sorted by relevance

/systemd/src/basic/
H A Dutil.h171 int namespace_open(pid_t pid, int *pidns_fd, int *mntns_fd, int *netns_fd, int *userns_fd, int *root_fd);
172 int namespace_enter(int pidns_fd, int mntns_fd, int netns_fd, int userns_fd, int root_fd);
H A Dutil.c649 int namespace_open(pid_t pid, int *pidns_fd, int *mntns_fd, int *netns_fd, int *userns_fd, int *root_fd) { argument
664 if (pidns_fd) {
700 if (pidns_fd)
701 *pidns_fd = pidnsfd;
720 int namespace_enter(int pidns_fd, int mntns_fd, int netns_fd, int userns_fd, int root_fd) { argument
737 if (pidns_fd >= 0)
738 if (setns(pidns_fd, CLONE_NEWPID) < 0)

Completed in 11 milliseconds