Home
last modified time | relevance | path

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

/aosp14/system/core/init/
H A Dservice_test.cpp105 static void Test_make_temporary_oneshot_service(bool dash_dash, bool seclabel, bool uid, bool gid, in Test_make_temporary_oneshot_service() argument
109 if (seclabel) { in Test_make_temporary_oneshot_service()
131 if (seclabel) { in Test_make_temporary_oneshot_service()
132 ASSERT_EQ("u:r:su:s0", svc->seclabel()); in Test_make_temporary_oneshot_service()
134 ASSERT_EQ("", svc->seclabel()); in Test_make_temporary_oneshot_service()
H A Dservice.cpp147 const std::string& seclabel, Subcontext* subcontext_for_restart_commands, in Service() argument
161 seclabel_(seclabel),
942 std::string seclabel = ""; in MakeTemporaryOneshotService() local
944 seclabel = args[1]; in MakeTemporaryOneshotService()
971 return std::make_unique<Service>(name, flags, *uid, *gid, supp_gids, namespace_flags, seclabel, in MakeTemporaryOneshotService()
H A Dservice.h75 const std::vector<gid_t>& supp_gids, int namespace_flags, const std::string& seclabel,
122 const std::string& seclabel() const { return seclabel_; } in seclabel() function
H A DREADME.md359 `seclabel <seclabel>`
360 > Change to 'seclabel' before exec'ing this service.
381 `socket <name> <type> <perm> [ <user> [ <group> [ <seclabel> ] ] ]`
386 User and group default to 0. 'seclabel' is the SELinux security context for the
388 seclabel or computed based on the service executable file security context.
561 `exec [ <seclabel> [ <user> [ <group>\* ] ] ] -- <command> [ <argument>\* ]`
569 `exec_background [ <seclabel> [ <user> [ <group>\* ] ] ] -- <command> [ <argument>\* ]`
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/
H A Dsnapuserd.rc8 seclabel u:r:snapuserd:s0
17 seclabel u:r:snapuserd:s0
/aosp14/system/core/init/test_upgrade_mte/
H A Dmte_upgrade_test.rc18 seclabel u:r:su:s0
24 seclabel u:r:su:s0
/aosp14/system/core/rootdir/
H A Dinit.usb.rc20 seclabel u:r:adbd:s0
H A Dinit.rc1290 seclabel u:r:ueventd:s0
1300 seclabel u:r:shell:s0