4f92d5bd99
We still had policy for devices which do not currently exist in Microdroid. Remove the unused types and all references to them in the policy, since they have no effect and just bloat the policy. While I'm here, delete all the bug_map entries. We don't use the bug_map in Microdroid, and this is just an outdated snapshot from host policy. Bug: 274752167 Test: atest MicrodroidTests Test: composd-cmd test-compile Change-Id: I3ab90f8e3517c41eff0052a0c8f6610fa35ccdcb
191 lines
8.1 KiB
Text
191 lines
8.1 KiB
Text
type system_linker_exec, file_type, system_file_type;
|
|
|
|
# file types
|
|
type adbd_socket, file_type, coredomain_socket;
|
|
type apex_info_file, file_type;
|
|
type apex_mnt_dir, file_type;
|
|
type authfs_data_file, file_type, data_file_type, core_data_file_type;
|
|
type authfs_service_socket, file_type, coredomain_socket;
|
|
type cgroup_desc_api_file, file_type, system_file_type;
|
|
type cgroup_desc_file, file_type, system_file_type;
|
|
type extra_apk_file, file_type;
|
|
type file_contexts_file, file_type, system_file_type;
|
|
type linkerconfig_file, file_type;
|
|
type nativetest_data_file, file_type, data_file_type, core_data_file_type;
|
|
type property_contexts_file, file_type, system_file_type;
|
|
type property_socket, file_type, coredomain_socket;
|
|
type sepolicy_file, file_type, system_file_type;
|
|
type service_contexts_file, file_type, system_file_type;
|
|
type shell_data_file, file_type, data_file_type, core_data_file_type;
|
|
type shell_test_data_file, file_type, data_file_type, core_data_file_type;
|
|
type statsdw_socket, file_type, coredomain_socket;
|
|
type system_bootstrap_lib_file, file_type, system_file_type;
|
|
type system_data_file, file_type, data_file_type, core_data_file_type;
|
|
type system_data_root_file, file_type, data_file_type, core_data_file_type;
|
|
type system_event_log_tags_file, file_type, system_file_type;
|
|
type system_file, file_type, system_file_type;
|
|
type system_group_file, file_type, system_file_type;
|
|
type system_lib_file, file_type, system_file_type;
|
|
type system_linker_config_file, file_type, system_file_type;
|
|
type system_passwd_file, file_type, system_file_type;
|
|
type system_seccomp_policy_file, file_type, system_file_type;
|
|
type system_security_cacerts_file, file_type, system_file_type;
|
|
type task_profiles_api_file, file_type, system_file_type;
|
|
type task_profiles_file, file_type, system_file_type;
|
|
type trace_data_file, file_type, data_file_type, core_data_file_type;
|
|
type unlabeled, file_type;
|
|
type vendor_configs_file, file_type, vendor_file_type;
|
|
type vendor_data_file, file_type, data_file_type;
|
|
type vendor_file, file_type, vendor_file_type;
|
|
type vendor_service_contexts_file, vendor_file_type, file_type;
|
|
type vm_payload_service_socket, file_type, coredomain_socket;
|
|
type traced_consumer_socket, file_type, coredomain_socket;
|
|
type traced_producer_socket, file_type, coredomain_socket;
|
|
|
|
# file system types
|
|
type binfmt_miscfs, fs_type;
|
|
type cgroup, fs_type;
|
|
type cgroup_v2, fs_type;
|
|
type config_gz, fs_type, proc_type;
|
|
type configfs, fs_type;
|
|
type debugfs, fs_type, debugfs_type;
|
|
type debugfs_bootreceiver_tracing, fs_type, debugfs_type, tracefs_type;
|
|
type debugfs_kcov, fs_type, debugfs_type;
|
|
type debugfs_kprobes, fs_type, debugfs_type;
|
|
type debugfs_mm_events_tracing, fs_type, debugfs_type, tracefs_type;
|
|
type debugfs_mmc, fs_type, debugfs_type;
|
|
type debugfs_trace_marker, fs_type, debugfs_type, tracefs_type;
|
|
type debugfs_tracing, fs_type, debugfs_type, tracefs_type;
|
|
type debugfs_tracing_debug, fs_type, debugfs_type, tracefs_type;
|
|
type debugfs_tracing_instances, fs_type, debugfs_type, tracefs_type;
|
|
type debugfs_tracing_printk_formats, fs_type, debugfs_type, tracefs_type;
|
|
type debugfs_wakeup_sources, fs_type, debugfs_type;
|
|
type debugfs_wifi_tracing, fs_type, debugfs_type, tracefs_type;
|
|
type devpts, fs_type;
|
|
type devtmpfs;
|
|
type exfat, fs_type, sdcard_type;
|
|
type fs_bpf, fs_type;
|
|
type fs_bpf_tethering, fs_type;
|
|
type functionfs, fs_type;
|
|
type fuse, fs_type, fusefs_type;
|
|
type fusectlfs, fs_type;
|
|
type inotify, fs_type;
|
|
type labeledfs, fs_type;
|
|
type mqueue, fs_type;
|
|
type pipefs, fs_type;
|
|
type proc, fs_type, proc_type;
|
|
type proc_abi, fs_type, proc_type;
|
|
type proc_asound, fs_type, proc_type;
|
|
type proc_bootconfig, fs_type, proc_type;
|
|
type proc_buddyinfo, fs_type, proc_type;
|
|
type proc_cmdline, fs_type, proc_type;
|
|
type proc_cpuinfo, fs_type, proc_type;
|
|
type proc_dirty, fs_type, proc_type;
|
|
type proc_diskstats, fs_type, proc_type;
|
|
type proc_drop_caches, fs_type, proc_type;
|
|
type proc_extra_free_kbytes, fs_type, proc_type;
|
|
type proc_filesystems, fs_type, proc_type;
|
|
type proc_hostname, fs_type, proc_type;
|
|
type proc_hung_task, fs_type, proc_type;
|
|
type proc_interrupts, fs_type, proc_type;
|
|
type proc_iomem, fs_type, proc_type;
|
|
type proc_kallsyms, fs_type, proc_type;
|
|
type proc_keys, fs_type, proc_type;
|
|
type proc_kmsg, fs_type, proc_type;
|
|
type proc_kpageflags, fs_type, proc_type;
|
|
type proc_loadavg, fs_type, proc_type;
|
|
type proc_locks, fs_type, proc_type;
|
|
type proc_lowmemorykiller, fs_type, proc_type;
|
|
type proc_max_map_count, fs_type, proc_type;
|
|
type proc_meminfo, fs_type, proc_type;
|
|
type proc_min_free_order_shift, fs_type, proc_type;
|
|
type proc_misc, fs_type, proc_type;
|
|
type proc_modules, fs_type, proc_type;
|
|
type proc_mounts, fs_type, proc_type;
|
|
type proc_net, fs_type, proc_type, proc_net_type;
|
|
type proc_net_tcp_udp, fs_type, proc_type;
|
|
type proc_overcommit_memory, fs_type, proc_type;
|
|
type proc_page_cluster, fs_type, proc_type;
|
|
type proc_pagetypeinfo, fs_type, proc_type;
|
|
type proc_panic, fs_type, proc_type;
|
|
type proc_perf, fs_type, proc_type;
|
|
type proc_pid_max, fs_type, proc_type;
|
|
type proc_pipe_conf, fs_type, proc_type;
|
|
type proc_pressure_cpu, fs_type, proc_type;
|
|
type proc_pressure_io, fs_type, proc_type;
|
|
type proc_pressure_mem, fs_type, proc_type;
|
|
type proc_qtaguid_ctrl, fs_type, proc_type;
|
|
type proc_qtaguid_stat, fs_type, proc_type;
|
|
type proc_random, fs_type, proc_type;
|
|
type proc_sched, fs_type, proc_type;
|
|
type proc_security, fs_type, proc_type;
|
|
type proc_slabinfo, fs_type, proc_type;
|
|
type proc_stat, fs_type, proc_type;
|
|
type proc_swaps, fs_type, proc_type;
|
|
type proc_sysrq, fs_type, proc_type;
|
|
type proc_timer, fs_type, proc_type;
|
|
type proc_tty_drivers, fs_type, proc_type;
|
|
type proc_uid_concurrent_active_time, fs_type, proc_type;
|
|
type proc_uid_concurrent_policy_time, fs_type, proc_type;
|
|
type proc_uid_cpupower, fs_type, proc_type;
|
|
type proc_uid_cputime_removeuid, fs_type, proc_type;
|
|
type proc_uid_cputime_showstat, fs_type, proc_type;
|
|
type proc_uid_io_stats, fs_type, proc_type;
|
|
type proc_uid_procstat_set, fs_type, proc_type;
|
|
type proc_uid_time_in_state, fs_type, proc_type;
|
|
type proc_uptime, fs_type, proc_type;
|
|
type proc_version, fs_type, proc_type;
|
|
type proc_vmallocinfo, fs_type, proc_type;
|
|
type proc_vmstat, fs_type, proc_type;
|
|
type proc_zoneinfo, fs_type, proc_type;
|
|
type pstorefs, fs_type;
|
|
type rootfs, fs_type;
|
|
type sdcardfs, fs_type, sdcard_type;
|
|
type securityfs, fs_type;
|
|
type selinuxfs, fs_type;
|
|
type shm, fs_type;
|
|
type sockfs, fs_type;
|
|
type sysfs, fs_type, sysfs_type;
|
|
type sysfs_android_usb, fs_type, sysfs_type;
|
|
type sysfs_bluetooth_writable, fs_type, sysfs_type;
|
|
type sysfs_devices_block, fs_type, sysfs_type;
|
|
type sysfs_devices_cs_etm, fs_type, sysfs_type;
|
|
type sysfs_devices_system_cpu, fs_type, sysfs_type;
|
|
type sysfs_dm, fs_type, sysfs_type;
|
|
type sysfs_dm_verity, fs_type, sysfs_type;
|
|
type sysfs_dma_heap, fs_type, sysfs_type;
|
|
type sysfs_dmabuf_stats, fs_type, sysfs_type;
|
|
type sysfs_dt_avf, fs_type, sysfs_type;
|
|
type sysfs_dt_firmware_android, fs_type, sysfs_type;
|
|
type sysfs_extcon, fs_type, sysfs_type;
|
|
type sysfs_fs_ext4_features, fs_type, sysfs_type;
|
|
type sysfs_fs_f2fs, fs_type, sysfs_type;
|
|
type sysfs_fs_incfs_features, fs_type, sysfs_type;
|
|
type sysfs_fs_incfs_metrics, fs_type, sysfs_type;
|
|
type sysfs_hwrandom, fs_type, sysfs_type;
|
|
type sysfs_ion, fs_type, sysfs_type;
|
|
type sysfs_ipv4, fs_type, sysfs_type;
|
|
type sysfs_kernel_notes, fs_type, sysfs_type;
|
|
type sysfs_leds, fs_type, sysfs_type;
|
|
type sysfs_loop, fs_type, sysfs_type;
|
|
type sysfs_lowmemorykiller, fs_type, sysfs_type;
|
|
type sysfs_net, fs_type, sysfs_type;
|
|
type sysfs_nfc_power_writable, fs_type, sysfs_type;
|
|
type sysfs_power, fs_type, sysfs_type;
|
|
type sysfs_rtc, fs_type, sysfs_type;
|
|
type sysfs_suspend_stats, fs_type, sysfs_type;
|
|
type sysfs_switch, fs_type, sysfs_type;
|
|
type sysfs_transparent_hugepage, fs_type, sysfs_type;
|
|
type sysfs_uhid, fs_type, sysfs_type;
|
|
type sysfs_usermodehelper, fs_type, sysfs_type;
|
|
type sysfs_vibrator, fs_type, sysfs_type;
|
|
type sysfs_wake_lock, fs_type, sysfs_type;
|
|
type sysfs_wakeup, fs_type, sysfs_type;
|
|
type sysfs_wakeup_reasons, fs_type, sysfs_type;
|
|
type sysfs_wlan_fwpath, fs_type, sysfs_type;
|
|
type sysfs_zram, fs_type, sysfs_type;
|
|
type sysfs_zram_uevent, fs_type, sysfs_type;
|
|
type tmpfs, fs_type;
|
|
type usbfs, fs_type;
|
|
type usermodehelper, fs_type, proc_type;
|
|
type vfat, fs_type, sdcard_type;
|