Home
last modified time | relevance | path

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

/system/core/init/
Dmount_namespace.cpp82 static android::base::unique_fd bootstrap_ns_fd; variable
103 bootstrap_ns_fd.reset(OpenMountNamespace()); in SetupMountNamespaces()
122 if (setns(bootstrap_ns_fd.get(), CLONE_NEWNS) == -1) { in SetupMountNamespaces()
157 if (bootstrap_ns_id != GetMountNamespaceId() && bootstrap_ns_fd.get() != -1 && in SwitchToBootstrapMountNamespaceIfNeeded()
159 if (setns(bootstrap_ns_fd.get(), CLONE_NEWNS) == -1) { in SwitchToBootstrapMountNamespaceIfNeeded()