Home
last modified time | relevance | path

Searched refs:avd (Results 1 – 25 of 25) sorted by relevance

/external/selinux/libselinux/src/
Dcompute_av.c17 struct av_decision *avd) in security_compute_av_flags_raw() argument
54 &avd->allowed, &avd->decided, in security_compute_av_flags_raw()
55 &avd->auditallow, &avd->auditdeny, in security_compute_av_flags_raw()
56 &avd->seqno, &avd->flags); in security_compute_av_flags_raw()
61 avd->flags = 0; in security_compute_av_flags_raw()
65 map_decision(tclass, avd); in security_compute_av_flags_raw()
81 struct av_decision *avd) in hidden_def()
89 avd->allowed = lavd.allowed; in hidden_def()
90 avd->decided = lavd.decided; in hidden_def()
91 avd->auditallow = lavd.auditallow; in hidden_def()
[all …]
Davc.c23 struct av_decision avd; member
433 if (node && ((node->ae.avd.decided & requested) == requested)) { in avc_lookup()
472 if (ae->avd.seqno < avc_cache.latest_notif) { in avc_insert()
475 ae->avd.seqno, avc_cache.latest_notif); in avc_insert()
487 memcpy(&node->ae.avd, &ae->avd, sizeof(ae->avd)); in avc_insert()
696 struct av_decision *avd, int result, void *a) in avc_audit() argument
700 denied = requested & ~avd->allowed; in avc_audit()
702 audited = denied & avd->auditdeny; in avc_audit()
706 audited = requested & avd->auditallow; in avc_audit()
739 static void avd_init(struct av_decision *avd) in hidden_def()
[all …]
Dmapping.c184 map_decision(security_class_t tclass, struct av_decision *avd) in map_decision() argument
191 if (avd->allowed & current_mapping[tclass].perms[i]) in map_decision()
193 avd->allowed = result; in map_decision()
196 if (avd->decided & current_mapping[tclass].perms[i]) in map_decision()
198 avd->decided = result; in map_decision()
201 if (avd->auditallow & current_mapping[tclass].perms[i]) in map_decision()
203 avd->auditallow = result; in map_decision()
206 if (avd->auditdeny & current_mapping[tclass].perms[i]) in map_decision()
208 avd->auditdeny = result; in map_decision()
DcheckAccess.c88 struct av_decision avd; in selinux_check_passwd_access() local
99 &avd); in selinux_check_passwd_access()
101 if ((retval == 0) && ((requested & avd.allowed) == requested)) { in selinux_check_passwd_access()
Daudit2why.c67 struct sepol_av_decision avd; in check_booleans() local
113 avc->av, &avd, &reason); in check_booleans()
323 struct sepol_av_decision avd; in analyze() local
377 rc = sepol_compute_av_reason_buffer(ssid, tsid, tclass, av, &avd, &reason, &reason_buf, 0); in analyze()
390 if (av & ~avd.auditdeny) { in analyze()
Dmapping.h32 map_decision(security_class_t tclass, struct av_decision *avd);
/external/selinux/libselinux/utils/
Dcompute_av.c10 struct av_decision avd; in main() local
26 ret = security_compute_av(argv[1], argv[2], tclass, 1, &avd); in main()
33 print_access_vector(tclass, avd.allowed); in main()
36 if (avd.decided != ~0U) { in main()
38 print_access_vector(tclass, avd.decided); in main()
42 if (avd.auditallow) { in main()
44 print_access_vector(tclass, avd.auditallow); in main()
48 if (avd.auditdeny != ~0U) { in main()
50 print_access_vector(tclass, avd.auditdeny); in main()
/external/selinux/libsepol/src/
Dservices.c832 struct sepol_av_decision *avd,
841 struct sepol_av_decision *avd, in type_attribute_bounds_av() argument
877 masked = ~lo_avd.allowed & avd->allowed; in type_attribute_bounds_av()
883 avd->allowed &= ~masked; in type_attribute_bounds_av()
896 struct sepol_av_decision *avd, in context_struct_compute_av() argument
919 avd->allowed = 0; in context_struct_compute_av()
920 avd->decided = 0xffffffff; in context_struct_compute_av()
921 avd->auditallow = 0; in context_struct_compute_av()
922 avd->auditdeny = 0xffffffff; in context_struct_compute_av()
923 avd->seqno = latest_granting; in context_struct_compute_av()
[all …]
Dconditional.c876 struct sepol_av_decision *avd) in cond_compute_av() argument
880 if (!ctab || !key || !avd) in cond_compute_av()
887 avd->allowed |= node->datum.data; in cond_compute_av()
895 avd->auditdeny &= node->datum.data; in cond_compute_av()
898 avd->auditallow |= node->datum.data; in cond_compute_av()
Dexpand.c3206 avtab_datum_t *avd; in expand_avtab_insert() local
3241 avd = &node->datum; in expand_avtab_insert()
3246 avd->data |= d->data; in expand_avtab_insert()
3249 avd->data &= d->data; in expand_avtab_insert()
3358 avtab_datum_t *avd; in expand_cond_insert() local
3383 avd = &node->datum; in expand_cond_insert()
3387 avd->data |= d->data; in expand_cond_insert()
3390 avd->data &= d->data; in expand_cond_insert()
/external/selinux/libsepol/include/sepol/policydb/
Dservices.h51 struct sepol_av_decision *avd); /* OUT */
63 struct sepol_av_decision *avd,
79 struct sepol_av_decision *avd,
Dconditional.h138 struct sepol_av_decision *avd);
/external/gemmlowp/scripts/
Dci-before.sh5 echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
6 emulator -avd test -no-audio -no-window &
/external/selinux/libselinux/include/selinux/
Dselinux.h188 struct av_decision *avd);
193 struct av_decision *avd);
199 struct av_decision *avd);
204 struct av_decision *avd);
Davc.h264 struct avc_entry_ref *aeref, struct av_decision *avd);
309 struct av_decision *avd, int result, void *auditdata);
/external/selinux/mcstrans/src/
Dmcscolor.c81 struct av_decision avd; in check_dominance() local
112 … security_compute_av_raw(ctx, (security_context_t)raw, context_class, context_contains_perm, &avd); in check_dominance()
116 rc = (context_contains_perm & avd.allowed) != context_contains_perm; in check_dominance()
/external/ipsec-tools/src/racoon/
Dsecurity.c220 struct av_decision avd; in within_range() local
254 rtn = avc_has_perm(slsid, rangesid, tclass, av, NULL, &avd); in within_range()
/external/selinux/checkpolicy/
Dcheckpolicy.c386 struct sepol_av_decision avd; in main() local
750 ret = sepol_compute_av(ssid, tsid, tclass, 0, &avd); in main()
754 for (i = 1; i <= sizeof(avd.allowed) * 8; i++) { in main()
755 if (avd.allowed & (1 << (i - 1))) { in main()
1156 tclass, 0, &avd, &reason, in main()
/external/Microsoft-GSL/tests/
Dspan_tests.cpp573 span<DerivedClass> avd; in SUITE() local
574 span<const DerivedClass> avcd = avd; in SUITE()
580 span<DerivedClass> avd; in SUITE() local
581 span<BaseClass> avb = avd; in SUITE()
Dmulti_span_tests.cpp649 multi_span<DerivedClass> avd; in SUITE() local
651 multi_span<BaseClass> avb = avd; in SUITE()
653 multi_span<const DerivedClass> avcd = avd; in SUITE()
/external/lisa/ipynb/energy/
DEnergyModel_ClusterEnergy.ipynb561 …mzcuHFs3LhxbNSoUWzcuHGF16rod53Zv97cMMQSd+qq7UII\nMU2vV5IkSUqTEAL+ez8dKvpdZ/avd+W6S6OVCtYJSenl+JfSy…
/external/lisa/ipynb/examples/trace_analysis/
DTraceAnalysis_TasksLatencies.ipynb1549 …\nnANvnCr3qSS3qKqFe/IfDf8+dBuclwDbhSQjwPb3yvQb0FUnwoZE3UuSvKy19p1lij89/Ub9+avd\nzgpsnrWwqn6p+rhyP0…
/external/hyphenation-patterns/nb/
Dhyph-nb.pat.txt3229 1avd
/external/hyphenation-patterns/nn/
Dhyph-nn.pat.txt3229 1avd
/external/icu/icu4c/source/data/misc/
DsupplementalData.txt4561 "avd",