Searched refs:userns_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
682 if (userns_fd) {
709 if (userns_fd)
710 *userns_fd = usernsfd;
720 int namespace_enter(int pidns_fd, int mntns_fd, int netns_fd, int userns_fd, int root_fd) { argument
721 if (userns_fd >= 0) {
727 if (asprintf(&userns_fd_path, "/proc/self/fd/%d", userns_fd) < 0)
734 userns_fd = -1;
749 if (userns_fd >= 0)
750 if (setns(userns_fd, CLONE_NEWUSE
[all...]
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);

Completed in 18 milliseconds