Searched defs:seclabel (Results 1 - 3 of 3) sorted by relevance

/system/core/init/
H A Dservice_test.cpp94 args.push_back("seclabel");
105 static void Test_make_temporary_oneshot_service(bool dash_dash, bool seclabel, bool uid, bool gid, argument
109 if (seclabel) {
110 args.push_back("u:r:su:s0"); // seclabel
130 if (seclabel) {
131 ASSERT_EQ("u:r:su:s0", svc->seclabel());
133 ASSERT_EQ("", svc->seclabel());
H A Dservice.h70 unsigned namespace_flags, const std::string& seclabel,
109 const std::string& seclabel() const { return seclabel_; } function in class:android::init::Service
H A Dservice.cpp212 unsigned namespace_flags, const std::string& seclabel,
224 seclabel_(seclabel),
747 {"seclabel", {1, 1, &Service::ParseSeclabel}},
1115 std::string seclabel = ""; local
1117 seclabel = args[1];
1148 namespace_flags, seclabel, nullptr, str_args);
210 Service(const std::string& name, unsigned flags, uid_t uid, gid_t gid, const std::vector<gid_t>& supp_gids, const CapSet& capabilities, unsigned namespace_flags, const std::string& seclabel, Subcontext* subcontext_for_restart_commands, const std::vector<std::string>& args) argument

Completed in 53 milliseconds