• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1##########################
2# Devices
3#
4
5/dev/block/by-name/misc u:object_r:misc_block_device:s0
6/dev/block/by-name/boot_[ab] u:object_r:boot_block_device:s0
7/dev/block/by-name/init_boot_[ab] u:object_r:boot_block_device:s0
8/dev/block/by-name/vendor_boot_[ab] u:object_r:boot_block_device:s0
9/dev/block/by-name/vbmeta_[ab] u:object_r:ab_block_device:s0
10/dev/block/by-name/vbmeta_system_[ab] u:object_r:ab_block_device:s0
11/dev/block/by-name/vbmeta_vendor_dlkm_[ab] u:object_r:ab_block_device:s0
12/dev/block/by-name/super u:object_r:super_block_device:s0
13/dev/block/by-name/userdata u:object_r:userdata_block_device:s0
14/dev/block/by-name/metadata u:object_r:metadata_block_device:s0
15
16/dev/block/by-name/frp  u:object_r:frp_block_device:s0
17
18/dev/block/pmem0  u:object_r:rebootescrow_device:s0
19/dev/block/zram0  u:object_r:swap_block_device:s0
20/dev/hvc0  u:object_r:serial_device:s0
21/dev/hvc1  u:object_r:serial_device:s0
22/dev/hvc2  u:object_r:serial_device:s0
23/dev/hvc3  u:object_r:keymaster_device:s0
24/dev/hvc4  u:object_r:gatekeeper_device:s0
25/dev/hvc5  u:object_r:bt_device:s0
26
27/dev/vhci  u:object_r:bt_device:s0
28
29# gnss hal can also read/write from hvc6 and hvc7
30# hvc6 for gnss raw measurement
31# hvc7 for fixed location
32/dev/hvc6  u:object_r:gnss_device:s0
33/dev/hvc7  u:object_r:gnss_device:s0
34
35# hvc8 for confirmation UI
36/dev/hvc8  u:object_r:confirmationui_device:s0
37
38# hvc9 for uwb
39/dev/hvc9  u:object_r:uwb_device:s0
40
41# hvc10 for oemlock
42/dev/hvc10  u:object_r:oemlock_device:s0
43
44# hvc11 for keymint / Rust
45/dev/hvc11  u:object_r:keymint_device:s0
46
47# ARM serial console device
48/dev/ttyAMA[0-9]*  u:object_r:serial_device:s0
49
50#############################
51# data files
52/data/vendor/mediadrm(/.*)?  u:object_r:mediadrm_vendor_data_file:s0
53
54#############################
55# sys files
56# x86
57/sys/devices/pci0000:00/0000:00:[0-9a-fA-F]{2}\.0/virtio[0-9]+/net(/.*)? u:object_r:sysfs_net:s0
58# qemu (x86)
59/sys/devices/platform/10000.pci/pci0000:00/0000:00:[0-9a-fA-F]{2}\.0/virtio[0-9]+/net(/.*)? u:object_r:sysfs_net:s0
60# qemu (aarch64)
61/sys/devices/platform/4010000000.pcie/pci0000:00/0000:00:[0-9a-fA-F]{2}.0/virtio[0-9]+/net u:object_r:sysfs_net:s0
62# qemu (arm)
63/sys/devices/platform/3f000000.pcie/pci0000:00/0000:00:[0-9a-fA-F]{2}.0/virtio[0-9]+/net u:object_r:sysfs_net:s0
64
65#############################
66# Vendor files
67#
68/vendor/bin/cuttlefish_sensor_injection   u:object_r:cuttlefish_sensor_injection_exec:s0
69/vendor/bin/mac80211_create_radios u:object_r:mac80211_create_radios_exec:s0
70/vendor/bin/socket_vsock_proxy  u:object_r:socket_vsock_proxy_exec:s0
71/vendor/bin/vsoc_input_service  u:object_r:vsoc_input_service_exec:s0
72/vendor/bin/rename_netiface  u:object_r:rename_netiface_exec:s0
73/vendor/bin/suspend_blocker  u:object_r:suspend_blocker_exec:s0
74/vendor/bin/metrics_helper   u:object_r:metrics_helper_exec:s0
75/vendor/bin/hw/android\.hardware\.power\.stats@1\.0-service\.mock  u:object_r:hal_power_stats_default_exec:s0
76/vendor/bin/hw/android\.hardware\.audio\.service u:object_r:hal_audio_cuttlefish_exec:s0
77/vendor/bin/hw/android\.hardware\.bluetooth@1\.1-service\.remote  u:object_r:hal_bluetooth_remote_exec:s0
78/vendor/bin/hw/android\.hardware\.bluetooth@1\.1-service\.sim  u:object_r:hal_bluetooth_sim_exec:s0
79/vendor/bin/hw/android\.hardware\.contexthub@1\.2-service\.mock  u:object_r:hal_contexthub_default_exec:s0
80/vendor/bin/hw/android\.hardware\.drm@[0-9]+\.[0-9]+-service\.clearkey  u:object_r:hal_drm_clearkey_exec:s0
81/vendor/bin/hw/android\.hardware\.drm@[0-9]+\.[0-9]+-service-lazy\.clearkey  u:object_r:hal_drm_clearkey_exec:s0
82/vendor/bin/hw/android\.hardware\.drm@[0-9]+\.[0-9]+-service\.widevine  u:object_r:hal_drm_widevine_exec:s0
83/vendor/bin/hw/android\.hardware\.drm-service\.widevine  u:object_r:hal_drm_widevine_exec:s0
84/vendor/bin/hw/android\.hardware\.drm@[0-9]+\.[0-9]+-service-lazy\.widevine  u:object_r:hal_drm_widevine_exec:s0
85/vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.software  u:object_r:hal_gatekeeper_default_exec:s0
86/vendor/bin/hw/android\.hardware\.health-service\.cuttlefish u:object_r:hal_health_default_exec:s0
87/vendor/bin/hw/android\.hardware\.health\.storage-service\.cuttlefish u:object_r:hal_health_storage_default_exec:s0
88/vendor/bin/hw/android\.hardware\.lights-service\.example u:object_r:hal_light_default_exec:s0
89/vendor/bin/hw/android\.hardware\.neuralnetworks-shim-service-sample   u:object_r:hal_neuralnetworks_sample_exec:s0
90/vendor/bin/hw/android\.hardware\.neuralnetworks-service-sample-.*   u:object_r:hal_neuralnetworks_sample_exec:s0
91/vendor/bin/hw/android\.hardware\.nfc-service\.cuttlefish  u:object_r:hal_nfc_default_exec:s0
92/vendor/bin/hw/android\.hardware\.vibrator@1\.x-service\.example u:object_r:hal_vibrator_default_exec:s0
93/vendor/bin/hw/android\.hardware\.net\.nlinterceptor-service\.default  u:object_r:hal_nlinterceptor_default_exec:s0
94/vendor/bin/setup_wifi  u:object_r:setup_wifi_exec:s0
95/vendor/bin/bt_vhci_forwarder  u:object_r:bt_vhci_forwarder_exec:s0
96/vendor/bin/hw/android\.hardware\.sensors-service\.example  u:object_r:hal_sensors_default_exec:s0
97/vendor/bin/hw/android\.hardware\.sensors@2\.1-service\.mock  u:object_r:hal_sensors_default_exec:s0
98/vendor/bin/hw/android\.hardware\.input\.classifier@1\.0-service.default  u:object_r:hal_input_classifier_default_exec:s0
99/vendor/bin/hw/android\.hardware\.input\.processor-service\.example  u:object_r:hal_input_processor_default_exec:s0
100/vendor/bin/hw/android\.hardware\.thermal@2\.0-service\.mock  u:object_r:hal_thermal_default_exec:s0
101/vendor/bin/hw/android\.hardware\.identity-service\.remote  u:object_r:hal_identity_remote_exec:s0
102/vendor/bin/hw/android\.hardware\.security\.keymint-service\.remote  u:object_r:hal_keymint_remote_exec:s0
103/vendor/bin/hw/android\.hardware\.security\.keymint-service\.rust  u:object_r:hal_keymint_rust_exec:s0
104/vendor/bin/hw/android\.hardware\.keymaster@4\.1-service.remote  u:object_r:hal_keymaster_remote_exec:s0
105/vendor/bin/hw/android\.hardware\.gatekeeper-service.remote  u:object_r:hal_gatekeeper_remote_exec:s0
106/vendor/bin/hw/android\.hardware\.confirmationui-service.cuttlefish  u:object_r:hal_confirmationui_cuttlefish_exec:s0
107/vendor/bin/hw/android\.hardware\.oemlock-service.remote  u:object_r:hal_oemlock_remote_exec:s0
108/vendor/bin/hw/android\.hardware\.weaver-service.example u:object_r:hal_weaver_default_exec:s0
109/vendor/bin/hw/android\.hardware\.authsecret@1\.0-service  u:object_r:hal_authsecret_default_exec:s0
110/vendor/bin/hw/android\.hardware\.authsecret-service.example u:object_r:hal_authsecret_default_exec:s0
111/vendor/bin/hw/android\.hardware\.rebootescrow-service\.default  u:object_r:hal_rebootescrow_default_exec:s0
112/vendor/bin/dlkm_loader  u:object_r:dlkm_loader_exec:s0
113/vendor/bin/init\.wifi    u:object_r:init_wifi_sh_exec:s0
114
115/vendor/lib(64)?/hw/android\.hardware\.health@2\.0-impl-2\.1-cuttlefish\.so  u:object_r:same_process_hal_file:s0
116/vendor/lib(64)?/libcuttlefish_fs.so  u:object_r:same_process_hal_file:s0
117/vendor/lib(64)?/vsoc_lib.so  u:object_r:same_process_hal_file:s0
118