Home
last modified time | relevance | path

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

/system/linkerconfig/modules/
Dsection.cc38 std::sort(namespaces_.begin(), in WriteConfig()
39 namespaces_.end(), in WriteConfig()
47 if (namespaces_.size() > 1) { in WriteConfig()
49 for (const auto& ns : namespaces_) { in WriteConfig()
58 for (auto& ns : namespaces_) { in WriteConfig()
75 for (auto& ns : namespaces_) { in Resolve()
98 for (auto& ns : namespaces_) { in Resolve()
111 namespaces_.push_back(std::move(new_ns)); in Resolve()
117 namespaces_.reserve(namespaces_.size() + ctx.GetApexModules().size() + in Resolve()
120 auto iter = namespaces_.begin(); in Resolve()
[all …]
/system/linkerconfig/modules/include/linkerconfig/
Dsection.h53 : name_(std::move(name)), namespaces_(std::move(namespaces)) { in Section()
69 for (auto& ns : namespaces_) { in ForEachNamespaces()
76 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.cpp154 namespaces_{.flags = namespace_flags},
500 if (namespaces_.flags) { in Start()
501 pid = clone(nullptr, nullptr, namespaces_.flags | SIGCHLD, nullptr); in Start()
509 if (auto result = EnterNamespaces(namespaces_, name_, override_mount_namespace); in Start()