Searched defs:root_fd (Results 1 - 2 of 2) sorted by relevance

/systemd/src/basic/
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
691 if (root_fd) {
712 if (root_fd)
713 *root_fd = rfd;
720 int namespace_enter(int pidns_fd, int mntns_fd, int netns_fd, int userns_fd, int root_fd) { argument
753 if (root_fd >= 0) {
754 if (fchdir(root_fd) < 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 1269 milliseconds