Searched defs:netns_fd (Results 1 - 2 of 2) sorted by relevance
/systemd/src/basic/ |
H A D | util.c | 649 int namespace_open(pid_t pid, int *pidns_fd, int *mntns_fd, int *netns_fd, int *userns_fd, int *root_fd) { argument 673 if (netns_fd) { 706 if (netns_fd) 707 *netns_fd = netnsfd; 720 int namespace_enter(int pidns_fd, int mntns_fd, int netns_fd, int userns_fd, int root_fd) { argument 745 if (netns_fd >= 0) 746 if (setns(netns_fd, CLONE_NEWNET) < 0)
|
/systemd/src/machine/ |
H A D | machine-dbus.c | 244 _cleanup_close_ int netns_fd = -1; local 261 r = namespace_open(m->leader, NULL, NULL, &netns_fd, NULL, NULL); 279 r = namespace_enter(-1, -1, netns_fd, -1, -1);
|
Completed in 14 milliseconds