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