Home
last modified time | relevance | path

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

/system/core/init/
Dproperty_service.cpp98 char *tctx = NULL; in check_mac_perms() local
107 if (selabel_lookup(sehandle_prop, &tctx, name, 1) != 0) in check_mac_perms()
110 if (selinux_check_access(sctx, tctx, "property_service", "set", (void*) name) == 0) in check_mac_perms()
113 freecon(tctx); in check_mac_perms()
/system/security/keystore/
Dkeystore.cpp334 static char *tctx; variable
381 bool allowed = selinux_check_access(sctx, tctx, selinux_class, str_perm, in keystore_selinux_check_access()
3332 if (getcon(&tctx) != 0) { in main()