Home
last modified time | relevance | path

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

/external/libselinux/src/
Dcompute_av.c17 struct av_decision *avd) in security_compute_av() argument
54 &avd->allowed, &avd->decided, in security_compute_av()
55 &avd->auditallow, &avd->auditdeny, in security_compute_av()
56 &avd->seqno, &avd->flags); in security_compute_av()
61 avd->flags = 0; in security_compute_av()
63 map_decision(tclass, avd); in security_compute_av()
Davc.c22 struct av_decision avd; member
292 ae->avd.allowed = ae->avd.decided = 0; in avc_clear_avc_entry()
293 ae->avd.auditallow = ae->avd.auditdeny = 0; in avc_clear_avc_entry()
388 if (node && ((node->ae.avd.decided & requested) == requested)) { in avc_lookup()
427 if (ae->avd.seqno < avc_cache.latest_notif) { in avc_insert()
430 ae->avd.seqno, avc_cache.latest_notif); in avc_insert()
442 node->ae.avd.allowed = ae->avd.allowed; in avc_insert()
443 node->ae.avd.decided = ae->avd.decided; in avc_insert()
444 node->ae.avd.auditallow = ae->avd.auditallow; in avc_insert()
445 node->ae.avd.auditdeny = ae->avd.auditdeny; in avc_insert()
[all …]
Dmapping.c169 map_decision(security_class_t tclass, struct av_decision *avd) in map_decision() argument
176 if (avd->allowed & current_mapping[tclass].perms[i]) in map_decision()
178 avd->allowed = result; in map_decision()
181 if (avd->decided & current_mapping[tclass].perms[i]) in map_decision()
183 avd->decided = result; in map_decision()
186 if (avd->auditallow & current_mapping[tclass].perms[i]) in map_decision()
188 avd->auditallow = result; in map_decision()
191 if (avd->auditdeny & current_mapping[tclass].perms[i]) in map_decision()
193 avd->auditdeny = result; in map_decision()
Dmapping.h32 map_decision(security_class_t tclass, struct av_decision *avd);
/external/qemu/android/
Dmain.c175 AvdInfo* avd; in main() local
269 avd = createAVD(opts, &inAndroidBuild); in main()
270 opts->snapstorage = avdInfo_getSnapStoragePath(avd); in main()
298 avd = android_avdInfo = createAVD(opts, &inAndroidBuild); in main()
311 avdInfo_getSkinInfo(avd, &skinName, &skinDir); in main()
324 avdInfo_getSkinHardwareIni(avd, opts->skin, opts->skindir); in main()
328 opts->dynamic_skin = avdInfo_shouldUseDynamicSkin(avd); in main()
333 if (avdInfo_initHwConfig(avd, hw) < 0) { in main()
391 char* tracePath = avdInfo_getTracePath(avd, opts->trace); in main()
427 kernelFile = avdInfo_getKernelPath(avd); in main()
[all …]
Dmain-common.h93 void updateHwConfigFromAVD(AndroidHwConfig* hwConfig, struct AvdInfo* avd,
Dmain-common.c1015 if (opts->avd == NULL) { in createAVD()
1049 if (opts->avd == NULL && !android_build_out) in createAVD()
1121 if (opts->avd != NULL) in createAVD()
1123 ret = avdInfo_new( opts->avd, android_avdParams ); in createAVD()
1126 dprint("could not find virtual device named '%s'", opts->avd); in createAVD()
Dcmdline-options.h88 CFG_PARAM( avd, "<name>", "use a specific android virtual device" )
Dcmdline-option.c64 opt->avd = aread[0]+1; in android_parse_options()
/external/libsepol/src/
Dservices.c311 struct sepol_av_decision *avd, in context_struct_compute_av() argument
332 avd->allowed = 0; in context_struct_compute_av()
333 avd->decided = 0xffffffff; in context_struct_compute_av()
334 avd->auditallow = 0; in context_struct_compute_av()
335 avd->auditdeny = 0xffffffff; in context_struct_compute_av()
336 avd->seqno = latest_granting; in context_struct_compute_av()
361 avd->allowed |= node->datum.data; in context_struct_compute_av()
364 avd->auditallow |= node->datum.data; in context_struct_compute_av()
366 avd->auditdeny &= node->datum.data; in context_struct_compute_av()
370 cond_compute_av(&policydb->te_cond_avtab, &avkey, avd); in context_struct_compute_av()
[all …]
Dconditional.c879 struct sepol_av_decision *avd) in cond_compute_av() argument
883 if (!ctab || !key || !avd) in cond_compute_av()
890 avd->allowed |= node->datum.data; in cond_compute_av()
898 avd->auditdeny &= node->datum.data; in cond_compute_av()
901 avd->auditallow |= node->datum.data; in cond_compute_av()
Dexpand.c3076 avtab_datum_t *avd; in expand_avtab_insert() local
3097 avd = &node->datum; in expand_avtab_insert()
3101 avd->data |= d->data; in expand_avtab_insert()
3104 avd->data &= d->data; in expand_avtab_insert()
3207 avtab_datum_t *avd; in expand_cond_insert() local
3232 avd = &node->datum; in expand_cond_insert()
3236 avd->data |= d->data; in expand_cond_insert()
3239 avd->data &= d->data; in expand_cond_insert()
/external/libsepol/include/sepol/policydb/
Dservices.h47 struct sepol_av_decision *avd); /* OUT */
58 struct sepol_av_decision *avd,
Dconditional.h134 struct sepol_av_decision *avd);
/external/libselinux/include/selinux/
Davc.h260 struct avc_entry_ref *aeref, struct av_decision *avd);
305 struct av_decision *avd, int result, void *auditdata);
Dselinux.h167 struct av_decision *avd);
/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/qemu/
DMakefile.common33 QEMU_HARDWARE_PROPERTIES_INI := $(LOCAL_PATH)/android/avd/hardware-properties.ini
34 QEMU_HW_CONFIG_DEFS_H := $(intermediates)/android/avd/hw-config-defs.h
108 android/avd/hw-config.c \
109 android/avd/info.c \
110 android/avd/util.c \
DCHANGES.TXT278 Note that the '@<name>' form is a convenience shortcut for '-avd <name>'.
339 - A new console command 'avd name' can be used to query the name of the
787 - the new 'avd stop' and 'avd start' command can be used to stop/start the
788 emulation. you can also use 'avd status' to query the current state.
/external/qemu/android/avd/
Dhardware-properties.ini8 # 'android/avd/hw-config-defs.h'. The latter is a special header containing
12 # (see android/avd/hw-config.h)
15 # (see android/avd/hw-config.h)
84 # in external/qemu/android/avd/hw-config.c for more details.
362 name = avd.name
/external/checkpolicy/
Dcheckpolicy.c382 struct sepol_av_decision avd; in main() local
695 ret = sepol_compute_av(ssid, tsid, tclass, 0, &avd); in main()
699 for (i = 1; i <= sizeof(avd.allowed) * 8; i++) { in main()
700 if (avd.allowed & (1 << (i - 1))) { in main()