Home
last modified time | relevance | path

Searched refs:ns_fd (Results 1 – 1 of 1) sorted by relevance

/system/core/init/
Dmount_namespace.cpp295 const auto& ns_fd = target_mount_namespace == NS_BOOTSTRAP ? bootstrap_ns_fd : default_ns_fd; in SwitchToMountNamespaceIfNeeded() local
297 if (ns_id != GetMountNamespaceId() && ns_fd.get() != -1) { in SwitchToMountNamespaceIfNeeded()
298 if (setns(ns_fd.get(), CLONE_NEWNS) == -1) { in SwitchToMountNamespaceIfNeeded()