Home
last modified time | relevance | path

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

12

/external/selinux/libselinux/src/
Dcompute_av.c17 struct av_decision *avd) in security_compute_av_flags_raw() argument
56 &avd->allowed, &avd->decided, in security_compute_av_flags_raw()
57 &avd->auditallow, &avd->auditdeny, in security_compute_av_flags_raw()
58 &avd->seqno, &avd->flags); in security_compute_av_flags_raw()
63 avd->flags = 0; in security_compute_av_flags_raw()
73 map_decision(tclass, avd); in security_compute_av_flags_raw()
89 struct av_decision *avd) in hidden_def()
97 avd->allowed = lavd.allowed; in hidden_def()
98 avd->decided = lavd.decided; in hidden_def()
99 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.c209 map_decision(security_class_t tclass, struct av_decision *avd) in map_decision() argument
218 if (avd->allowed & mapping->perms[i]) in map_decision()
223 avd->allowed = result; in map_decision()
226 if (avd->decided & mapping->perms[i]) in map_decision()
231 avd->decided = result; in map_decision()
234 if (avd->auditallow & mapping->perms[i]) in map_decision()
236 avd->auditallow = result; in map_decision()
239 if (avd->auditdeny & mapping->perms[i]) in map_decision()
252 avd->auditdeny = result; in map_decision()
DcheckAccess.c75 struct av_decision avd; in selinux_check_passwd_access() local
88 &avd); in selinux_check_passwd_access()
90 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.c833 struct sepol_av_decision *avd,
842 struct sepol_av_decision *avd, in type_attribute_bounds_av() argument
878 masked = ~lo_avd.allowed & avd->allowed; in type_attribute_bounds_av()
884 avd->allowed &= ~masked; in type_attribute_bounds_av()
897 struct sepol_av_decision *avd, in context_struct_compute_av() argument
920 avd->allowed = 0; in context_struct_compute_av()
921 avd->decided = 0xffffffff; in context_struct_compute_av()
922 avd->auditallow = 0; in context_struct_compute_av()
923 avd->auditdeny = 0xffffffff; in context_struct_compute_av()
924 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.c3186 avtab_datum_t *avd; in expand_avtab_insert() local
3221 avd = &node->datum; in expand_avtab_insert()
3226 avd->data |= d->data; in expand_avtab_insert()
3229 avd->data &= d->data; in expand_avtab_insert()
3330 avtab_datum_t *avd; in expand_cond_insert() local
3355 avd = &node->datum; in expand_cond_insert()
3359 avd->data |= d->data; in expand_cond_insert()
3362 avd->data &= d->data; in expand_cond_insert()
/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/libsepol/include/sepol/policydb/
Dservices.h45 struct sepol_av_decision *avd); /* OUT */
57 struct sepol_av_decision *avd,
73 struct sepol_av_decision *avd,
Dconditional.h138 struct sepol_av_decision *avd);
/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/grpc-grpc-java/android-interop-testing/
Dstart-emulator.sh13 emulator64-arm -avd $1 -netfast -no-skin -no-audio -no-window -port 5554
/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.c390 struct sepol_av_decision avd; in main() local
777 ret = sepol_compute_av(ssid, tsid, tclass, 0, &avd); in main()
781 for (i = 1; i <= sizeof(avd.allowed) * 8; i++) { in main()
782 if (avd.allowed & (1 << (i - 1))) { in main()
1183 tclass, 0, &avd, &reason, in main()
/external/angle/
D.vpython148 # build/android/pylib/local/emulator/avd.py
/external/hyphenation-patterns/nn/
Dhyph-nn.pat.txt3229 1avd
/external/hyphenation-patterns/nb/
Dhyph-nb.pat.txt3229 1avd
/external/icu/icu4c/source/data/misc/
DsupplementalData.txt5028 "avd",
/external/cldr/tools/java/org/unicode/cldr/util/data/
Diso-639-3_Name_Index.tab457 avd Alviri-Vidari Alviri-Vidari
Diso-639-3.tab442 avd I L Alviri-Vidari

12