Alex Klyubin | 0a7b2a4 | 2017-08-23 18:05:32 -0700 | [diff] [blame] | 1 | ########################## |
| 2 | # Devices |
| 3 | # |
David Anderson | 80ee2e0 | 2019-08-30 13:52:57 -0700 | [diff] [blame] | 4 | |
| 5 | # crosvm block devices |
David Anderson | 38593ff | 2019-10-03 17:49:52 -0700 | [diff] [blame] | 6 | /dev/block/pci/pci0000:00/0000:00:01\.0/by-name/boot u:object_r:boot_block_device:s0 |
| 7 | /dev/block/pci/pci0000:00/0000:00:01\.0/by-name/metadata u:object_r:metadata_block_device:s0 |
David Anderson | 80ee2e0 | 2019-08-30 13:52:57 -0700 | [diff] [blame] | 8 | /dev/block/pci/pci0000:00/0000:00:01\.0/by-name/misc u:object_r:misc_block_device:s0 |
David Anderson | 38593ff | 2019-10-03 17:49:52 -0700 | [diff] [blame] | 9 | /dev/block/pci/pci0000:00/0000:00:01\.0/by-name/super u:object_r:super_block_device:s0 |
| 10 | /dev/block/pci/pci0000:00/0000:00:01\.0/by-name/userdata u:object_r:userdata_block_device:s0 |
| 11 | /dev/block/pci/pci0000:00/0000:00:01\.0/by-name/cache u:object_r:cache_block_device:s0 |
David Anderson | 80ee2e0 | 2019-08-30 13:52:57 -0700 | [diff] [blame] | 12 | # qemu block devices |
David Anderson | 38593ff | 2019-10-03 17:49:52 -0700 | [diff] [blame] | 13 | /dev/block/pci/pci0000:00/0000:00:03\.0/by-name/boot u:object_r:boot_block_device:s0 |
| 14 | /dev/block/pci/pci0000:00/0000:00:03\.0/by-name/metadata u:object_r:metadata_block_device:s0 |
David Anderson | 80ee2e0 | 2019-08-30 13:52:57 -0700 | [diff] [blame] | 15 | /dev/block/pci/pci0000:00/0000:00:03\.0/by-name/misc u:object_r:misc_block_device:s0 |
David Anderson | 38593ff | 2019-10-03 17:49:52 -0700 | [diff] [blame] | 16 | /dev/block/pci/pci0000:00/0000:00:03\.0/by-name/super u:object_r:super_block_device:s0 |
| 17 | /dev/block/pci/pci0000:00/0000:00:03\.0/by-name/userdata u:object_r:userdata_block_device:s0 |
| 18 | /dev/block/pci/pci0000:00/0000:00:03\.0/by-name/cache u:object_r:cache_block_device:s0 |
David Anderson | 80ee2e0 | 2019-08-30 13:52:57 -0700 | [diff] [blame] | 19 | |
Tri Vo | 27bac3e | 2019-03-11 14:44:02 -0700 | [diff] [blame] | 20 | /dev/block/zram0 u:object_r:swap_block_device:s0 |
Greg Hartman | 769f24f | 2019-08-12 14:19:11 -0700 | [diff] [blame] | 21 | /dev/dri u:object_r:gpu_device:s0 |
Greg Hartman | aa974fe | 2019-04-01 15:41:40 -0700 | [diff] [blame] | 22 | /dev/dri/card0 u:object_r:graphics_device:s0 |
Greg Hartman | 769f24f | 2019-08-12 14:19:11 -0700 | [diff] [blame] | 23 | /dev/dri/renderD128 u:object_r:gpu_device:s0 |
Cody Schuffelen | e40cf5d | 2019-01-25 16:01:17 -0800 | [diff] [blame] | 24 | /dev/e2e_managed u:object_r:region_e2e_test_device:s0 |
| 25 | /dev/e2e_manager u:object_r:region_e2e_test_device:s0 |
| 26 | /dev/e2e_primary u:object_r:region_e2e_test_device:s0 |
| 27 | /dev/e2e_secondary u:object_r:region_e2e_test_device:s0 |
Tri Vo | 27bac3e | 2019-03-11 14:44:02 -0700 | [diff] [blame] | 28 | /dev/input_events u:object_r:input_events_device:s0 |
Alistair Strachan | f71ef63 | 2019-03-19 19:32:41 -0700 | [diff] [blame] | 29 | /dev/ril u:object_r:libcuttlefish_rild_device:s0 |
Cody Schuffelen | e40cf5d | 2019-01-25 16:01:17 -0800 | [diff] [blame] | 30 | /dev/screen u:object_r:region_screen_device:s0 |
Tri Vo | 27bac3e | 2019-03-11 14:44:02 -0700 | [diff] [blame] | 31 | /dev/socket_forward u:object_r:socket_forward_device:s0 |
Cody Schuffelen | e40cf5d | 2019-01-25 16:01:17 -0800 | [diff] [blame] | 32 | /dev/vport[0-9]p[0-9]* u:object_r:virtual_serial_device:s0 |
Alex Klyubin | 0a7b2a4 | 2017-08-23 18:05:32 -0700 | [diff] [blame] | 33 | |
| 34 | ############################# |
Alex Klyubin | 8cbcaa2 | 2017-08-23 20:11:09 -0700 | [diff] [blame] | 35 | # Root files |
Cody Schuffelen | e40cf5d | 2019-01-25 16:01:17 -0800 | [diff] [blame] | 36 | /initial\.metadata u:object_r:initial_metadata_file:s0 |
| 37 | /ts_snap\.txt u:object_r:tombstone_snapshot_file:s0 |
Alex Klyubin | 8cbcaa2 | 2017-08-23 20:11:09 -0700 | [diff] [blame] | 38 | |
| 39 | ############################# |
Edwin Wong | 84d6d81 | 2019-10-18 13:29:22 -0700 | [diff] [blame] | 40 | # data files |
| 41 | /data/vendor/mediadrm(/.*)? u:object_r:mediadrm_vendor_data_file:s0 |
| 42 | |
| 43 | ############################# |
Alex Klyubin | 95ccd22 | 2017-08-25 16:07:01 -0700 | [diff] [blame] | 44 | # var files |
Cody Schuffelen | e40cf5d | 2019-01-25 16:01:17 -0800 | [diff] [blame] | 45 | /var/run/system(/.*)? u:object_r:var_run_system_file:s0 |
Alex Klyubin | 95ccd22 | 2017-08-25 16:07:01 -0700 | [diff] [blame] | 46 | |
| 47 | ############################# |
Alex Klyubin | 0a7b2a4 | 2017-08-23 18:05:32 -0700 | [diff] [blame] | 48 | # Vendor files |
| 49 | # |
Cody Schuffelen | e40cf5d | 2019-01-25 16:01:17 -0800 | [diff] [blame] | 50 | /vendor/bin/usbforward u:object_r:usbforward_exec:s0 |
Cody Schuffelen | e40cf5d | 2019-01-25 16:01:17 -0800 | [diff] [blame] | 51 | /vendor/bin/socket_vsock_proxy u:object_r:socket_vsock_proxy_exec:s0 |
Cody Schuffelen | c423e5d | 2019-09-16 19:49:45 +0000 | [diff] [blame] | 52 | /vendor/bin/vsock_logcat u:object_r:vsock_logcat_exec:s0 |
Cody Schuffelen | e40cf5d | 2019-01-25 16:01:17 -0800 | [diff] [blame] | 53 | /vendor/bin/vsoc_input_service u:object_r:vsoc_input_service_exec:s0 |
Cody Schuffelen | e40cf5d | 2019-01-25 16:01:17 -0800 | [diff] [blame] | 54 | /vendor/bin/vport_trigger u:object_r:vport_trigger_exec:s0 |
| 55 | /vendor/bin/rename_netiface u:object_r:rename_netiface_exec:s0 |
Alistair Strachan | f71ef63 | 2019-03-19 19:32:41 -0700 | [diff] [blame] | 56 | /vendor/bin/hw/libcuttlefish-rild u:object_r:libcuttlefish_rild_exec:s0 |
Benjamin Schwartz | 3521ea1 | 2019-01-25 09:36:39 -0800 | [diff] [blame] | 57 | /vendor/bin/hw/android\.hardware\.power\.stats@1\.0-service\.mock u:object_r:hal_power_stats_default_exec:s0 |
Jakub Pawlowski | c888fc2 | 2019-11-19 18:05:07 +0100 | [diff] [blame] | 58 | /vendor/bin/hw/android\.hardware\.bluetooth@1\.1-service\.sim u:object_r:hal_bluetooth_sim_exec:s0 |
Edwin Wong | d00bb40 | 2019-09-17 18:29:51 -0700 | [diff] [blame] | 59 | /vendor/bin/hw/android\.hardware\.drm@1\.2-service\.clearkey u:object_r:hal_drm_clearkey_exec:s0 |
| 60 | /vendor/bin/hw/android\.hardware\.drm@1\.2-service-lazy\.clearkey u:object_r:hal_drm_clearkey_exec:s0 |
Edwin Wong | 84d6d81 | 2019-10-18 13:29:22 -0700 | [diff] [blame] | 61 | /vendor/bin/hw/android\.hardware\.drm@1\.2-service\.widevine u:object_r:hal_drm_widevine_exec:s0 |
| 62 | /vendor/bin/hw/android\.hardware\.drm@1\.2-service-lazy\.widevine u:object_r:hal_drm_widevine_exec:s0 |
Cody Schuffelen | e40cf5d | 2019-01-25 16:01:17 -0800 | [diff] [blame] | 63 | /vendor/bin/hw/android\.hardware\.dumpstate@1\.0-service\.cuttlefish u:object_r:hal_dumpstate_impl_exec:s0 |
Janis Danisevskis | f9491e0 | 2019-06-06 16:04:57 -0700 | [diff] [blame] | 64 | /vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.software u:object_r:hal_gatekeeper_default_exec:s0 |
Wei Wang | b1a2893 | 2019-01-09 11:32:13 -0800 | [diff] [blame] | 65 | /vendor/bin/hw/android\.hardware\.health\.storage@1\.0-service\.cuttlefish u:object_r:hal_health_storage_default_exec:s0 |
Michael Butler | f1ef00c | 2019-09-11 12:42:06 -0700 | [diff] [blame] | 66 | /vendor/bin/hw/android\.hardware\.neuralnetworks@1\.3-service-sample-.* u:object_r:hal_neuralnetworks_sample_exec:s0 |
Harpreet \"Eli\" Sangha | 20c25c7 | 2019-09-27 19:09:14 +0900 | [diff] [blame] | 67 | /vendor/bin/hw/android\.hardware\.vibrator@1\.x-service\.example u:object_r:hal_vibrator_default_exec:s0 |
Amy | 2d25dc9 | 2019-06-13 19:23:52 -0700 | [diff] [blame] | 68 | /vendor/bin/hw/android\.hardware\.tv\.cec@1\.0-service\.mock u:object_r:hal_tv_cec_mock_exec:s0 |
Cody Schuffelen | e40cf5d | 2019-01-25 16:01:17 -0800 | [diff] [blame] | 69 | /vendor/bin/ip_link_add u:object_r:ip_link_add_exec:s0 |
Cody Schuffelen | 32e8b94 | 2018-11-21 12:16:06 -0800 | [diff] [blame] | 70 | /vendor/bin/setup_wifi u:object_r:setup_wifi_exec:s0 |
Brian Stack | 5492885 | 2019-02-07 10:45:09 -0800 | [diff] [blame] | 71 | /vendor/bin/hw/android\.hardware\.sensors@2\.0-service\.mock u:object_r:hal_sensors_default_exec:s0 |
Siarhei Vishniakou | 481c061 | 2019-01-11 14:53:35 -0800 | [diff] [blame] | 72 | /vendor/bin/hw/android\.hardware\.input\.classifier@1\.0-service.default u:object_r:hal_input_classifier_default_exec:s0 |
Cody Schuffelen | e40cf5d | 2019-01-25 16:01:17 -0800 | [diff] [blame] | 73 | /vendor/bin/hw/android\.hardware\.thermal@2\.0-service\.mock u:object_r:hal_thermal_default_exec:s0 |
Alistair Strachan | 5fd2fa0 | 2019-04-04 02:15:00 -0700 | [diff] [blame] | 74 | /vendor/bin/hw/android\.hardware\.authsecret@1\.0-service u:object_r:hal_authsecret_default_exec:s0 |
Sarah Chin | dfe73d3 | 2019-11-12 18:26:09 -0800 | [diff] [blame] | 75 | /vendor/bin/hw/android\.hardware\.radio\.config@1\.3-service u:object_r:hal_radio_config_default_exec:s0 |
Ram Muthiah | 901c804 | 2019-07-24 17:04:03 -0700 | [diff] [blame] | 76 | /vendor/bin/init\.insmod\.sh u:object_r:init_insmod_sh_exec:s0 |
Tri Vo | 7f481fe | 2019-03-11 13:49:44 -0700 | [diff] [blame] | 77 | |
| 78 | /vendor/lib(64)?/cuttlefish_auto_resources.so u:object_r:same_process_hal_file:s0 |
Greg Hartman | 1cf08d0 | 2019-05-15 00:54:14 -0700 | [diff] [blame] | 79 | /vendor/lib(64)?/libdrm.so u:object_r:same_process_hal_file:s0 |
| 80 | /vendor/lib(64)?/libglapi.so u:object_r:same_process_hal_file:s0 |
| 81 | /vendor/lib(64)?/dri/.* u:object_r:same_process_hal_file:s0 |
Alistair Strachan | 5ea1b3a | 2019-04-18 15:12:35 -0700 | [diff] [blame] | 82 | /vendor/lib(64)?/hw/android\.hardware\.graphics\.mapper@2\.0-impl-2\.1\.so u:object_r:same_process_hal_file:s0 |
Yifan Hong | 16d521c | 2020-01-09 13:08:38 -0800 | [diff] [blame^] | 83 | /vendor/lib(64)?/hw/android\.hardware\.health@2\.0-impl-2\.1-cuttlefish\.so u:object_r:same_process_hal_file:s0 |
Greg Hartman | aa974fe | 2019-04-01 15:41:40 -0700 | [diff] [blame] | 84 | /vendor/lib(64)?/hw/gralloc.cutf_ashmem.so u:object_r:same_process_hal_file:s0 |
Greg Hartman | 1cf08d0 | 2019-05-15 00:54:14 -0700 | [diff] [blame] | 85 | /vendor/lib(64)?/hw/gralloc.minigbm.so u:object_r:same_process_hal_file:s0 |
Jason Macnak | c08bbaa | 2019-10-29 16:54:03 -0700 | [diff] [blame] | 86 | /vendor/lib(64)?/hw/vulkan.pastel.so u:object_r:same_process_hal_file:s0 |
Tri Vo | 7f481fe | 2019-03-11 13:49:44 -0700 | [diff] [blame] | 87 | /vendor/lib(64)?/libcuttlefish_fs.so u:object_r:same_process_hal_file:s0 |
| 88 | /vendor/lib(64)?/vsoc_lib.so u:object_r:same_process_hal_file:s0 |