Home
last modified time | relevance | path

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

/system/linkerconfig/modules/
Dsection.cc37 std::sort(namespaces_.begin(), in WriteConfig()
38 namespaces_.end(), in WriteConfig()
46 if (namespaces_.size() > 1) { in WriteConfig()
48 for (const auto& ns : namespaces_) { in WriteConfig()
57 for (auto& ns : namespaces_) { in WriteConfig()
64 for (auto& ns : namespaces_) { in Resolve()
87 namespaces_.reserve(namespaces_.size() + ctx.GetApexModules().size()); in Resolve()
89 auto iter = namespaces_.begin(); in Resolve()
110 namespaces_.push_back(std::move(new_ns)); in Resolve()
117 } while (iter != namespaces_.end()); in Resolve()
[all …]
/system/linkerconfig/modules/include/linkerconfig/
Dsection.h36 : name_(std::move(name)), namespaces_(std::move(namespaces)) { in Section()
51 for (auto& ns : namespaces_) { in ForEachNamespaces()
58 std::vector<Namespace> namespaces_; variable
/system/core/init/
Dservice_parser.cpp110 if (!service_->namespaces_.namespaces_to_enter.empty()) { in ParseEnterNamespace()
115 service_->namespaces_.flags |= CLONE_NEWNS; in ParseEnterNamespace()
116 service_->namespaces_.namespaces_to_enter.emplace_back(CLONE_NEWNET, std::move(args[2])); in ParseEnterNamespace()
252 service_->namespaces_.flags |= CLONE_NEWPID; in ParseNamespace()
254 service_->namespaces_.flags |= CLONE_NEWNS; in ParseNamespace()
256 service_->namespaces_.flags |= CLONE_NEWNS; in ParseNamespace()
Dservice.h114 int namespace_flags() const { return namespaces_.flags; } in namespace_flags()
161 NamespaceInfo namespaces_; variable
Dservice.cpp152 namespaces_{.flags = namespace_flags},
488 if (namespaces_.flags) { in Start()
489 pid = clone(nullptr, nullptr, namespaces_.flags | SIGCHLD, nullptr); in Start()
497 if (auto result = EnterNamespaces(namespaces_, name_, pre_apexd_); !result.ok()) { in Start()