Searched refs:tctx (Results 1 – 2 of 2) sorted by relevance
/system/core/init/ |
D | property_service.cpp | 98 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/ |
D | keystore.cpp | 334 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()
|