Home
last modified time | relevance | path

Searched refs:scon (Results 1 – 2 of 2) sorted by relevance

/system/core/init/
Dservice.cpp346 std::string scon; in Start() local
348 scon = seclabel_; in Start()
371 scon = ret_scon; in Start()
374 if (rc == 0 && scon == mycon) { in Start()
403 !si.socketcon.empty() ? si.socketcon.c_str() : scon.c_str(); in Start()
/system/core/debuggerd/
Ddebuggerd.cpp156 char *scon = NULL, *tcon = NULL; in selinux_action_allowed() local
168 if (getpeercon(s, &scon) < 0) { in selinux_action_allowed()
178 allowed = (selinux_check_access(scon, tcon, tclass, perm, reinterpret_cast<void*>(request)) == 0); in selinux_action_allowed()
181 freecon(scon); in selinux_action_allowed()