Searched refs:pidns_fd (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/basic/ |
D | namespace-util.c | 18 int namespace_open(pid_t pid, int *pidns_fd, int *mntns_fd, int *netns_fd, int *userns_fd, int *roo… in namespace_open() argument 33 if (pidns_fd) { in namespace_open() 69 if (pidns_fd) in namespace_open() 70 *pidns_fd = TAKE_FD(pidnsfd); in namespace_open() 87 int namespace_enter(int pidns_fd, int mntns_fd, int netns_fd, int userns_fd, int root_fd) { in namespace_enter() argument 101 if (pidns_fd >= 0) in namespace_enter() 102 if (setns(pidns_fd, CLONE_NEWPID) < 0) in namespace_enter()
|
D | namespace-util.h | 6 int namespace_open(pid_t pid, int *pidns_fd, int *mntns_fd, int *netns_fd, int *userns_fd, int *roo… 7 int namespace_enter(int pidns_fd, int mntns_fd, int netns_fd, int userns_fd, int root_fd);
|
D | process-util.h | 161 …name, const int except_fds[], size_t n_except_fds, ForkFlags flags, int pidns_fd, int mntns_fd, in…
|
D | process-util.c | 1409 int pidns_fd, in namespace_fork() argument 1430 r = namespace_enter(pidns_fd, mntns_fd, netns_fd, userns_fd, root_fd); in namespace_fork()
|
/systemd-251/src/shared/ |
D | mount-util.c | 787 …_cleanup_close_ int self_mntns_fd = -1, mntns_fd = -1, root_fd = -1, pidns_fd = -1, chased_src_fd … in mount_in_namespace() local 804 r = namespace_open(target, &pidns_fd, &mntns_fd, NULL, NULL, &root_fd); in mount_in_namespace() 935 pidns_fd, mntns_fd, -1, -1, root_fd, &child); in mount_in_namespace()
|
/systemd-251/src/machine/ |
D | machine-dbus.c | 387 _cleanup_close_ int mntns_fd = -1, root_fd = -1, pidns_fd = -1; in bus_machine_method_get_os_release() local 392 r = namespace_open(m->leader, &pidns_fd, &mntns_fd, NULL, NULL, &root_fd); in bus_machine_method_get_os_release() 400 pidns_fd, mntns_fd, -1, -1, root_fd, in bus_machine_method_get_os_release()
|