Searched refs:scon (Results 1 – 2 of 2) sorted by relevance
346 std::string scon; in Start() local348 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()
156 char *scon = NULL, *tcon = NULL; in selinux_action_allowed() local168 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()