Home
last modified time | relevance | path

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

/system/linkerconfig/modules/
Dsection.cc39 if (namespaces_.size() > 1) { in WriteConfig()
41 for (const auto& ns : namespaces_) { in WriteConfig()
50 for (const auto& ns : namespaces_) { in WriteConfig()
80 for (auto& ns : namespaces_) { in Resolve()
100 for (auto& ns : namespaces_) { in Resolve()
113 namespaces_.push_back(std::move(new_ns)); in Resolve()
119 namespaces_.reserve(namespaces_.size() + ctx.GetApexModules().size() + in Resolve()
122 auto iter = namespaces_.begin(); in Resolve()
153 } while (iter != namespaces_.end()); in Resolve()
155 std::sort(namespaces_.begin(), in Resolve()
[all …]
/system/linkerconfig/modules/include/linkerconfig/
Dsection.h73 : name_(std::move(name)), namespaces_(std::move(namespaces)) { in Section()
88 for (auto& ns : namespaces_) { in ForEachNamespaces()
95 std::vector<Namespace> namespaces_; variable
/system/core/init/
Dservice_parser.cpp157 if (!service_->namespaces_.namespaces_to_enter.empty()) { in ParseEnterNamespace()
162 service_->namespaces_.flags |= CLONE_NEWNS; in ParseEnterNamespace()
163 service_->namespaces_.namespaces_to_enter.emplace_back(CLONE_NEWNET, std::move(args[2])); in ParseEnterNamespace()
305 service_->namespaces_.flags |= CLONE_NEWPID; in ParseNamespace()
307 service_->namespaces_.flags |= CLONE_NEWNS; in ParseNamespace()
309 service_->namespaces_.flags |= CLONE_NEWNS; in ParseNamespace()
Dservice.h122 int namespace_flags() const { return namespaces_.flags; } in namespace_flags()
196 NamespaceInfo namespaces_; variable
Dservice.cpp162 namespaces_{.flags = namespace_flags},
531 if (auto result = EnterNamespaces(namespaces_, name_, mount_namespace_); !result.ok()) { in RunService()
678 if (namespaces_.flags) { in Start()
679 pid = clone(nullptr, nullptr, namespaces_.flags | SIGCHLD, nullptr); in Start()