Searched refs:ns_fd (Results 1 – 1 of 1) sorted by relevance
295 const auto& ns_fd = target_mount_namespace == NS_BOOTSTRAP ? bootstrap_ns_fd : default_ns_fd; in SwitchToMountNamespaceIfNeeded() local297 if (ns_id != GetMountNamespaceId() && ns_fd.get() != -1) { in SwitchToMountNamespaceIfNeeded()298 if (setns(ns_fd.get(), CLONE_NEWNS) == -1) { in SwitchToMountNamespaceIfNeeded()