Home
last modified time | relevance | path

Searched refs:tcontext (Results 1 – 5 of 5) sorted by relevance

/system/sepolicy/tests/
Dapex_sepolicy_tests.py111 def check_rule(pol, path: str, tcontext: str, rule: Rule) -> List[str]:
119 tcontext={tcontext},
127 if tcontext not in pol.GetAllTypes(False):
130 if tcontext in labels:
176 tcontext = context.split(':')[2]
182 errors.extend(check_rule(pol, path, tcontext, rule))
Dsearchpolicy.py59 tcontext = {args.target} variable
61 tcontext = set() variable
72 tcontext=tcontext,
Dpolicy.py277 tcontext = set()
279 tcontext |= self.ResolveTypeAttribute(tctx)
280 if (len(tcontext) == 0):
282 kwargs['tcontext'] = tcontext
/system/logging/logd/
DLogAudit.cpp133 const std::string& tcontext = fields[1]; in populateDenialMap() local
137 denial_to_bug.try_emplace({scontext, tcontext, tclass}, bug_num); in populateDenialMap()
178 std::string tcontext = denialParse(string, ':', "tcontext=u:object_r:"); in auditParse() local
183 if (tcontext.empty()) { in auditParse()
184 tcontext = denialParse(string, ':', "tcontext=u:r:"); in auditParse()
186 auto search = denial_to_bug.find({scontext, tcontext, tclass}); in auditParse()
/system/security/keystore2/selinux/src/
Dlib.rs727 let tcontext = backend.lookup(SHELL_KEY_NAMESPACE)?; localVariable
734 &tcontext,
746 &tcontext,