Home
last modified time | relevance | path

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

/system/core/init/
Dinit_parser_test.cpp59 static void Test_make_exec_oneshot_service(bool dash_dash, bool seclabel, bool uid, in Test_make_exec_oneshot_service() argument
64 if (seclabel) { in Test_make_exec_oneshot_service()
85 if (seclabel) { in Test_make_exec_oneshot_service()
86 ASSERT_EQ("u:r:su:s0", svc->seclabel()); in Test_make_exec_oneshot_service()
88 ASSERT_EQ("", svc->seclabel()); in Test_make_exec_oneshot_service()
Dservice.h73 unsigned namespace_flags, const std::string& seclabel,
101 const std::string& seclabel() const { return seclabel_; } in seclabel() function
Dservice.cpp174 unsigned namespace_flags, const std::string& seclabel, in Service() argument
186 seclabel_(seclabel),
942 std::string seclabel = ""; in MakeExecOneshotService() local
944 seclabel = args[1]; in MakeExecOneshotService()
961 namespace_flags, seclabel, str_args); in MakeExecOneshotService()
DREADME.md144 `socket <name> <type> <perm> [ <user> [ <group> [ <seclabel> ] ] ]`
147 group default to 0. 'seclabel' is the SELinux security context for the
149 seclabel or computed based on the service executable file security context.
185 `seclabel <seclabel>`
186 > Change to 'seclabel' before exec'ing this service.
315 `exec [ <seclabel> [ <user> [ <group>\* ] ] ] -- <command> [ <argument>\* ]`
/system/sepolicy/public/
Dwatchdogd.te1 # watchdogd seclabel is specified in init.<board>.rc
Dadbd.te1 # adbd seclabel is specified in init.rc since
Dslideshow.te1 # slideshow seclabel is specified in init.rc since
Dcharger.te1 # charger seclabel is specified in init.rc since
Dhal_neverallows.te51 # allow transitioning into a HAL domain by use of seclabel in an
Dueventd.te1 # ueventd seclabel is specified in init.rc since
Dinit.te308 # setexec is for services with seclabel options.
/system/sepolicy/private/
Dinit.te5 # Transitions to seclabel processes in init.rc
/system/core/rootdir/
Dinit.usb.rc19 seclabel u:r:adbd:s0
Dinit.rc682 seclabel u:r:ueventd:s0
695 seclabel u:r:shell:s0