Searched refs:mntns_fd (Results 1 - 3 of 3) 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
655 if (mntns_fd) {
703 if (mntns_fd)
704 *mntns_fd = mntnsfd;
720 int namespace_enter(int pidns_fd, int mntns_fd, int netns_fd, int userns_fd, int root_fd) { argument
741 if (mntns_fd >= 0)
742 if (setns(mntns_fd, CLONE_NEWNS) < 0)
/systemd/src/machine/
H A Dmachine-dbus.c395 _cleanup_close_ int mntns_fd = -1, root_fd = -1; local
401 r = namespace_open(m->leader, NULL, &mntns_fd, NULL, NULL, &root_fd);
417 r = namespace_enter(-1, mntns_fd, -1, -1, root_fd);

Completed in 46 milliseconds