Searched defs:sctx (Results 1 - 2 of 2) sorted by relevance
/system/security/keystore/ |
H A D | permissions.cpp | 114 char* sctx = NULL; local 122 if (getpidcon(spid, &sctx) != 0) { 130 bool allowed = selinux_check_access(sctx, tctx, selinux_class, str_perm, 132 freecon(sctx);
|
/system/core/init/ |
H A D | property_service.cpp | 73 static int check_mac_perms(const char *name, char *sctx, struct ucred *cr) argument 79 if (!sctx) 91 if (selinux_check_access(sctx, tctx, "property_service", "set", reinterpret_cast<void*>(&audit_data)) == 0) 99 static int check_control_mac_perms(const char *name, char *sctx, struct ucred *cr) argument 113 return check_mac_perms(ctl_name, sctx, cr);
|
Completed in 92 milliseconds