Home
last modified time | relevance | path

Searched refs:tclass (Results 1 – 15 of 15) sorted by relevance

/aosp12/system/sepolicy/tests/
H A Dsearchpolicy.py35 if not (args.source or args.target or args.tclass or args.perms):
48 if args.tclass:
49 tclass = set(args.tclass.split(",")) variable
51 tclass = set()
59 tclass=tclass,
66 rules.append("allow " + r.sctx + " " + r.tctx + ":" + r.tclass + " { " +
69 rules.append("allow " + r.sctx + " " + r.tctx + ":" + r.tclass + " " +
H A Dpolicy.py41 self.tclass = data[3]
164 not bool(set([Rule.tclass]) & kwargs['tclass'])):
H A Dtreble_sepolicy_tests.py130 for x in pol.QueryExpandedTERule(tclass=set(["file"]), perms=set(["entrypoint"])):
/aosp12/system/logging/logd/
H A DLogAudit.cpp123 std::string tclass; in populateDenialMap() local
127 split_line >> scontext >> tcontext >> tclass >> bug_num; in populateDenialMap()
128 denial_to_bug.emplace(scontext + tcontext + tclass, bug_num); in populateDenialMap()
151 std::string tclass = denialParse(string, ' ', "tclass="); in auditParse() local
158 auto search = denial_to_bug.find(scontext + tcontext + tclass); in auditParse()
/aosp12/system/security/keystore2/selinux/src/
H A Dlib.rs283 pub fn check_access(source: &CStr, target: &CStr, tclass: &str, perm: &str) -> Result<()> { in check_access()
286 let c_tclass = CString::new(tclass).with_context(|| { in check_access()
287 format!("check_access: Failed to convert tclass \"{}\" to CString.", tclass) in check_access()
317 source, target, tclass, perm in check_access()
/aosp12/frameworks/native/cmds/servicemanager/
H A DAccess.cpp127 const char* tclass = "service_manager"; in actionAllowed() local
134 return 0 == selinux_check_access(sctx.sid.c_str(), tctx, tclass, perm, in actionAllowed()
/aosp12/bionic/libc/kernel/uapi/linux/netfilter_bridge/
H A Debt_ip6.h37 __u8 tclass; member
/aosp12/system/sepolicy/tools/sepolicy-analyze/
H A Dneverallow.c257 node->tclass = cls->s.value; in read_classperms()
335 cls = policydb->class_val_to_struct[node->tclass-1]; in read_classperms()
341 …efined in class %s in policy being checked.\n", id, policydb->p_class_val_to_name[node->tclass-1]); in read_classperms()
/aosp12/bionic/libc/dns/resolv/
H A Dres_send.c284 int n, ttype, tclass; in res_nameinquery() local
293 tclass = ns_get16(cp); cp += INT16SZ; in res_nameinquery()
294 if (ttype == type && tclass == class && in res_nameinquery()
334 int n, ttype, tclass; in res_queriesmatch() local
343 tclass = ns_get16(cp); cp += INT16SZ; in res_queriesmatch()
344 if (!res_nameinquery(tname, ttype, tclass, buf2, eom2)) in res_queriesmatch()
/aosp12/frameworks/base/core/java/android/os/
H A DSELinux.java126 …public static final native boolean checkSELinuxAccess(String scon, String tcon, String tclass, Str… in checkSELinuxAccess() argument
/aosp12/bionic/libc/kernel/uapi/linux/
H A Dethtool.h329 __u8 tclass; member
335 __u8 tclass; member
341 __u8 tclass; member
/aosp12/packages/modules/DnsResolver/
H A Dres_send.cpp358 int tclass = ntohs(*reinterpret_cast<const uint16_t*>(cp)); in res_nameinquery() local
360 if (ttype == type && tclass == cl && ns_samename(tname, name) == 1) return (1); in res_nameinquery()
400 int tclass = ntohs(*reinterpret_cast<const uint16_t*>(cp)); in res_queriesmatch() local
402 if (!res_nameinquery(tname, ttype, tclass, buf2, eom2)) return (0); in res_queriesmatch()
/aosp12/system/sepolicy/prebuilts/api/28.0/private/
H A Dtraced_probes.te57 # scontext=u:r:atrace:s0 tcontext=u:r:traced_probes:s0 tclass=fd
/aosp12/art/build/boot/hiddenapi/
H A Dhiddenapi-max-target-o-low-priority.txt6466 Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater$AtomicIntegerFieldUpdaterImpl;->tclass:Ljava…
6486 Ljava/util/concurrent/atomic/AtomicLongFieldUpdater$CASUpdater;->tclass:Ljava/lang/Class;
6494 Ljava/util/concurrent/atomic/AtomicLongFieldUpdater$LockedUpdater;->tclass:Ljava/lang/Class;
6520 Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl;->tclass:L…
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...