1# Binaries
2/vendor/bin/dmd                                                             u:object_r:dmd_exec:s0
3/vendor/bin/modem_logging_control                                           u:object_r:modem_logging_control_exec:s0
4/vendor/bin/sced                                                            u:object_r:sced_exec:s0
5/vendor/bin/vcd                                                             u:object_r:vcd_exec:s0
6/vendor/bin/chre                                                            u:object_r:chre_exec:s0
7/vendor/bin/cbd                                                             u:object_r:cbd_exec:s0
8/vendor/bin/modem_svc_sit                                                   u:object_r:modem_svc_sit_exec:s0
9/vendor/bin/rfsd                                                            u:object_r:rfsd_exec:s0
10/vendor/bin/bipchmgr                                                        u:object_r:bipchmgr_exec:s0
11/vendor/bin/storageproxyd                                                   u:object_r:tee_exec:s0
12/vendor/bin/init\.radio\.sh                                                 u:object_r:init_radio_exec:s0
13/vendor/bin/tcpdump_logger                                                  u:object_r:tcpdump_logger_exec:s0
14/vendor/bin/init\.display\.sh                                               u:object_r:init-display-sh_exec:s0
15/vendor/bin/trusty_apploader                                                u:object_r:trusty_apploader_exec:s0
16/vendor/bin/trusty_metricsd                                                 u:object_r:trusty_metricsd_exec:s0
17/vendor/bin/dumpsys                                                         u:object_r:vendor_dumpsys:s0
18/vendor/bin/init\.uwb\.calib\.sh                                            u:object_r:vendor_uwb_init_exec:s0
19/vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.trusty           u:object_r:hal_gatekeeper_default_exec:s0
20/vendor/bin/hw/android\.hardware\.gatekeeper-service\.trusty                u:object_r:hal_gatekeeper_default_exec:s0
21/vendor/bin/hw/android\.hardware\.security\.keymint-service\.trusty         u:object_r:hal_keymint_default_exec:s0
22/vendor/bin/hw/android\.hardware\.security\.keymint-service\.rust\.trusty   u:object_r:hal_keymint_default_exec:s0
23/vendor/bin/hw/android\.hardware\.security\.secretkeeper\.trusty            u:object_r:hal_secretkeeper_default_exec:s0
24/vendor/bin/hw/vendor\.google\.radioext@1\.0-service                        u:object_r:hal_radioext_default_exec:s0
25/vendor/bin/hw/android\.hardware\.composer\.hwc3-service\.pixel             u:object_r:hal_graphics_composer_default_exec:s0
26/vendor/bin/hw/google\.hardware\.media\.c2@1\.0-service                     u:object_r:mediacodec_google_exec:s0
27/vendor/bin/hw/android\.hardware\.secure_element@1\.2-service-gto           u:object_r:hal_secure_element_st54spi_exec:s0
28/vendor/bin/hw/android\.hardware\.secure_element@1\.2-service-gto-ese2      u:object_r:hal_secure_element_st33spi_exec:s0
29/vendor/bin/hw/android\.hardware\.secure_element@1\.2-uicc-service          u:object_r:hal_secure_element_uicc_exec:s0
30/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.goodix  u:object_r:hal_fingerprint_default_exec:s0
31/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint-service\.goodix   u:object_r:hal_fingerprint_default_exec:s0
32/vendor/bin/hw/android\.hardware\.nfc-service\.st                           u:object_r:hal_nfc_default_exec:s0
33/vendor/bin/hw/vendor\.google\.wireless_charger@1\.3-service-vendor         u:object_r:hal_wlc_exec:s0
34/vendor/bin/hw/android\.hardware\.usb-service                               u:object_r:hal_usb_impl_exec:s0
35/vendor/bin/hw/android\.hardware\.usb\.gadget-service                       u:object_r:hal_usb_gadget_impl_exec:s0
36/vendor/bin/hw/rild_exynos                                                  u:object_r:rild_exec:s0
37/vendor/bin/hw/android\.hardware\.qorvo\.uwb\.service                       u:object_r:hal_uwb_vendor_default_exec:s0
38/vendor/bin/rlsservice                                                      u:object_r:rlsservice_exec:s0
39/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.fpc u:object_r:fingerprint_factory_service_exec:s0
40/vendor/bin/hw/android\.hardware\.memtrack-service\.pixel                   u:object_r:hal_memtrack_default_exec:s0
41/system_ext/bin/convert_to_ext4\.sh                                         u:object_r:convert-to-ext4-sh_exec:s0
42/vendor/bin/hw/disable_contaminant_detection\.sh                            u:object_r:disable-contaminant-detection-sh_exec:s0
43/vendor/bin/dump/dump_power_gs201\.sh                                       u:object_r:dump_power_gs201_exec:s0
44/vendor/bin/ufs_firmware_update\.sh                                         u:object_r:ufs_firmware_update_exec:s0
45/vendor/bin/init\.check_ap_pd_auth\.sh                                      u:object_r:init-check_ap_pd_auth-sh_exec:s0
46
47# Vendor Firmwares
48/vendor/firmware(/.*)?                                                      u:object_r:vendor_fw_file:s0
49
50# Gralloc
51/(vendor|system/vendor)/lib(64)?/hw/mapper\.pixel\.so                       u:object_r:same_process_hal_file:s0
52
53# Vendor libraries
54/vendor/lib(64)?/libdrm\.so                                                 u:object_r:same_process_hal_file:s0
55/vendor/lib(64)?/libion_google\.so                                          u:object_r:same_process_hal_file:s0
56/vendor/lib(64)?/arm\.graphics-V1-ndk\.so                                   u:object_r:same_process_hal_file:s0
57/vendor/lib(64)?/libOpenCL-pixel\.so                                        u:object_r:same_process_hal_file:s0
58/vendor/lib(64)?/libOpenCL\.so                                              u:object_r:same_process_hal_file:s0
59/vendor/lib(64)?/lib_aion_buffer\.so                                        u:object_r:same_process_hal_file:s0
60/vendor/lib(64)?/libGralloc4Wrapper\.so                                     u:object_r:same_process_hal_file:s0
61/vendor/lib(64)?/pixel-power-ext-V1-ndk\.so                                 u:object_r:same_process_hal_file:s0
62/vendor/lib(64)?/android\.frameworks\.stats-V1-ndk\.so                      u:object_r:same_process_hal_file:s0
63/vendor/lib(64)?/vendor-pixelatoms-cpp\.so                                  u:object_r:same_process_hal_file:s0
64/vendor/lib(64)?/libprotobuf-cpp-lite-(\d+\.){2,3}so                        u:object_r:same_process_hal_file:s0
65
66# Graphics
67/vendor/lib(64)?/hw/gralloc\.gs201\.so                                      u:object_r:same_process_hal_file:s0
68/vendor/lib(64)?/hw/vulkan\.mali\.so                                        u:object_r:same_process_hal_file:s0
69/vendor/lib(64)?/libgpudataproducer\.so                                     u:object_r:same_process_hal_file:s0
70
71# Devices
72/dev/dma_heap/sensor_direct_heap                                            u:object_r:sensor_direct_heap_device:s0
73/dev/ttySAC0                                                                u:object_r:tty_device:s0
74/dev/dma_heap/faceauth_tpu-secure                                           u:object_r:faceauth_heap_device:s0
75/dev/dma_heap/faimg-secure                                                  u:object_r:faceauth_heap_device:s0
76/dev/dma_heap/famodel-secure                                                u:object_r:faceauth_heap_device:s0
77/dev/dma_heap/faprev-secure                                                 u:object_r:faceauth_heap_device:s0
78/dev/dma_heap/farawimg-secure                                               u:object_r:faceauth_heap_device:s0
79/dev/dma_heap/vframe-secure                                                 u:object_r:dmabuf_system_secure_heap_device:s0
80/dev/dma_heap/vscaler-secure                                                u:object_r:vscaler_heap_device:s0
81/dev/dma_heap/vstream-secure                                                u:object_r:dmabuf_system_secure_heap_device:s0
82/dev/janeiro                                                                u:object_r:edgetpu_device:s0
83/dev/bigocean                                                               u:object_r:video_device:s0
84/dev/goodix_fp                                                              u:object_r:fingerprint_device:s0
85/dev/stmvl53l1_ranging                                                      u:object_r:rls_device:s0
86/dev/watchdog0                                                              u:object_r:watchdog_device:s0
87/dev/mali0                                                                  u:object_r:gpu_device:s0
88/dev/logbuffer_usbpd                                                        u:object_r:logbuffer_device:s0
89/dev/logbuffer_pogo_transport                                               u:object_r:logbuffer_device:s0
90/dev/logbuffer_ssoc                                                         u:object_r:logbuffer_device:s0
91/dev/logbuffer_wireless                                                     u:object_r:logbuffer_device:s0
92/dev/logbuffer_ttf                                                          u:object_r:logbuffer_device:s0
93/dev/logbuffer_maxq                                                         u:object_r:logbuffer_device:s0
94/dev/logbuffer_rtx                                                          u:object_r:logbuffer_device:s0
95/dev/logbuffer_maxfg                                                        u:object_r:logbuffer_device:s0
96/dev/logbuffer_maxfg_base                                                   u:object_r:logbuffer_device:s0
97/dev/logbuffer_maxfg_flip                                                   u:object_r:logbuffer_device:s0
98/dev/logbuffer_pca9468_tcpm                                                 u:object_r:logbuffer_device:s0
99/dev/logbuffer_pca9468                                                      u:object_r:logbuffer_device:s0
100/dev/logbuffer_cpm                                                          u:object_r:logbuffer_device:s0
101/dev/logbuffer_maxfg_monitor                                                u:object_r:logbuffer_device:s0
102/dev/logbuffer_maxfg_base_monitor                                           u:object_r:logbuffer_device:s0
103/dev/logbuffer_maxfg_flip_monitor                                           u:object_r:logbuffer_device:s0
104/dev/logbuffer_bd                                                           u:object_r:logbuffer_device:s0
105/dev/logbuffer_cpif                                                         u:object_r:logbuffer_device:s0
106/dev/logbuffer_pcie0                                                        u:object_r:logbuffer_device:s0
107/dev/logbuffer_pcie1                                                        u:object_r:logbuffer_device:s0
108/dev/bbd_pwrstat                                                            u:object_r:power_stats_device:s0
109/dev/lwis-act-jotnar                                                        u:object_r:lwis_device:s0
110/dev/lwis-act-slenderman                                                    u:object_r:lwis_device:s0
111/dev/lwis-act-slenderman-sandworm                                           u:object_r:lwis_device:s0
112/dev/lwis-csi                                                               u:object_r:lwis_device:s0
113/dev/lwis-dpm                                                               u:object_r:lwis_device:s0
114/dev/lwis-eeprom-gargoyle                                                   u:object_r:lwis_device:s0
115/dev/lwis-eeprom-jotnar                                                     u:object_r:lwis_device:s0
116/dev/lwis-eeprom-smaug-buraq                                                u:object_r:lwis_device:s0
117/dev/lwis-eeprom-smaug-dokkaebi                                             u:object_r:lwis_device:s0
118/dev/lwis-eeprom-smaug-sandworm                                             u:object_r:lwis_device:s0
119/dev/lwis-flash-lm3644                                                      u:object_r:lwis_device:s0
120/dev/lwis-g3aa                                                              u:object_r:lwis_device:s0
121/dev/lwis-gdc0                                                              u:object_r:lwis_device:s0
122/dev/lwis-gdc1                                                              u:object_r:lwis_device:s0
123/dev/lwis-gtnr-align                                                        u:object_r:lwis_device:s0
124/dev/lwis-gtnr-merge                                                        u:object_r:lwis_device:s0
125/dev/lwis-ipp                                                               u:object_r:lwis_device:s0
126/dev/lwis-itp                                                               u:object_r:lwis_device:s0
127/dev/lwis-mcsc                                                              u:object_r:lwis_device:s0
128/dev/lwis-ois-gargoyle                                                      u:object_r:lwis_device:s0
129/dev/lwis-ois-jotnar                                                        u:object_r:lwis_device:s0
130/dev/lwis-pdp                                                               u:object_r:lwis_device:s0
131/dev/lwis-scsc                                                              u:object_r:lwis_device:s0
132/dev/lwis-sensor-buraq                                                      u:object_r:lwis_device:s0
133/dev/lwis-sensor-dokkaebi                                                   u:object_r:lwis_device:s0
134/dev/lwis-sensor-kraken                                                     u:object_r:lwis_device:s0
135/dev/lwis-sensor-lamassu                                                    u:object_r:lwis_device:s0
136/dev/lwis-sensor-nagual                                                     u:object_r:lwis_device:s0
137/dev/lwis-sensor-sandworm                                                   u:object_r:lwis_device:s0
138/dev/lwis-slc                                                               u:object_r:lwis_device:s0
139/dev/lwis-top                                                               u:object_r:lwis_device:s0
140/dev/lwis-votf                                                              u:object_r:lwis_device:s0
141/dev/dri/card0                                                              u:object_r:graphics_device:s0
142/dev/fimg2d                                                                 u:object_r:graphics_device:s0
143/dev/g2d                                                                    u:object_r:graphics_device:s0
144/dev/gxp                                                                    u:object_r:gxp_device:s0
145/dev/dit2                                                                   u:object_r:vendor_toe_device:s0
146/dev/trusty-ipc-dev0                                                        u:object_r:tee_device:s0
147/dev/st21nfc                                                                u:object_r:nfc_device:s0
148/dev/st54spi                                                                u:object_r:st54spi_device:s0
149/dev/st33spi                                                                u:object_r:st33spi_device:s0
150/dev/ttyGS[0-3]                                                             u:object_r:serial_device:s0
151/dev/oem_ipc[0-7]                                                           u:object_r:radio_device:s0
152/dev/oem_test                                                               u:object_r:radio_test_device:s0
153/dev/umts_boot0                                                             u:object_r:radio_device:s0
154/dev/umts_ipc0                                                              u:object_r:radio_device:s0
155/dev/umts_ipc1                                                              u:object_r:radio_device:s0
156/dev/umts_rfs0                                                              u:object_r:radio_device:s0
157/dev/umts_dm0                                                               u:object_r:radio_device:s0
158/dev/umts_router                                                            u:object_r:radio_device:s0
159/dev/logbuffer_tcpm                                                         u:object_r:logbuffer_device:s0
160/dev/sys/block/bootdevice(/.*)?                                             u:object_r:bootdevice_sysdev:s0
161/dev/socket/chre                                                            u:object_r:chre_socket:s0
162/dev/block/sda                                                              u:object_r:sda_block_device:s0
163/dev/block/platform/14700000\.ufs/by-name/abl_[ab]                          u:object_r:custom_ab_block_device:s0
164/dev/block/platform/14700000\.ufs/by-name/bl1_[ab]                          u:object_r:custom_ab_block_device:s0
165/dev/block/platform/14700000\.ufs/by-name/bl2_[ab]                          u:object_r:custom_ab_block_device:s0
166/dev/block/platform/14700000\.ufs/by-name/bl31_[ab]                         u:object_r:custom_ab_block_device:s0
167/dev/block/platform/14700000\.ufs/by-name/boot_[ab]                         u:object_r:boot_block_device:s0
168/dev/block/platform/14700000\.ufs/by-name/init_boot_[ab]                    u:object_r:boot_block_device:s0
169/dev/block/platform/14700000\.ufs/by-name/devinfo                           u:object_r:devinfo_block_device:s0
170/dev/block/platform/14700000\.ufs/by-name/dram_train_[ab]                   u:object_r:custom_ab_block_device:s0
171/dev/block/platform/14700000\.ufs/by-name/dtbo_[ab]                         u:object_r:custom_ab_block_device:s0
172/dev/block/platform/14700000\.ufs/by-name/efs                               u:object_r:efs_block_device:s0
173/dev/block/platform/14700000\.ufs/by-name/efs_backup                        u:object_r:efs_block_device:s0
174/dev/block/platform/14700000\.ufs/by-name/frp                               u:object_r:frp_block_device:s0
175/dev/block/platform/14700000\.ufs/by-name/gsa_[ab]                          u:object_r:custom_ab_block_device:s0
176/dev/block/platform/14700000\.ufs/by-name/ldfw_[ab]                         u:object_r:custom_ab_block_device:s0
177/dev/block/platform/14700000\.ufs/by-name/metadata                          u:object_r:metadata_block_device:s0
178/dev/block/platform/14700000\.ufs/by-name/mfg_data                          u:object_r:mfg_data_block_device:s0
179/dev/block/platform/14700000\.ufs/by-name/misc                              u:object_r:misc_block_device:s0
180/dev/block/platform/14700000\.ufs/by-name/modem_[ab]                        u:object_r:modem_block_device:s0
181/dev/block/platform/14700000\.ufs/by-name/modem_userdata                    u:object_r:modem_userdata_block_device:s0
182/dev/block/platform/14700000\.ufs/by-name/pbl_[ab]                          u:object_r:custom_ab_block_device:s0
183/dev/block/platform/14700000\.ufs/by-name/persist                           u:object_r:persist_block_device:s0
184/dev/block/platform/14700000\.ufs/by-name/pvmfw_[ab]                        u:object_r:custom_ab_block_device:s0
185/dev/block/platform/14700000\.ufs/by-name/super                             u:object_r:super_block_device:s0
186/dev/block/platform/14700000\.ufs/by-name/tzsw_[ab]                         u:object_r:custom_ab_block_device:s0
187/dev/block/platform/14700000\.ufs/by-name/userdata                          u:object_r:userdata_block_device:s0
188/dev/block/platform/14700000\.ufs/by-name/vbmeta_[ab]                       u:object_r:custom_ab_block_device:s0
189/dev/block/platform/14700000\.ufs/by-name/vbmeta_system_[ab]                u:object_r:custom_ab_block_device:s0
190/dev/block/platform/14700000\.ufs/by-name/vbmeta_vendor_[ab]                u:object_r:custom_ab_block_device:s0
191/dev/block/platform/14700000\.ufs/by-name/vendor_boot_[ab]                  u:object_r:custom_ab_block_device:s0
192/dev/block/platform/14700000\.ufs/by-name/vendor_kernel_boot_[ab]           u:object_r:custom_ab_block_device:s0
193/dev/block/platform/14700000\.ufs/by-name/fips                              u:object_r:fips_block_device:s0
194
195# Data
196/data/vendor/chre(/.*)?                                                     u:object_r:chre_data_file:s0
197/data/vendor/slog(/.*)?                                                     u:object_r:vendor_slog_file:s0
198/data/vendor/modem_stat(/.*)?                                               u:object_r:modem_stat_data_file:s0
199/data/vendor/log(/.*)?                                                      u:object_r:vendor_log_file:s0
200/data/vendor/log/rfsd(/.*)?                                                 u:object_r:vendor_rfsd_log_file:s0
201/data/vendor/rild(/.*)?                                                     u:object_r:rild_vendor_data_file:s0
202/data/vendor/ss(/.*)?                                                       u:object_r:tee_data_file:s0
203/data/nfc(/.*)?                                                             u:object_r:nfc_data_file:s0
204/data/vendor/firmware/wifi(/.*)?                                            u:object_r:updated_wifi_firmware_data_file:s0
205/data/vendor/misc(/.*)?                                                     u:object_r:vendor_misc_data_file:s0
206/data/per_boot(/.*)?                                                        u:object_r:per_boot_file:s0
207/data/vendor/uwb(/.*)?                                                      u:object_r:uwb_data_vendor:s0
208/dev/maxfg_history                                                          u:object_r:battery_history_device:s0
209/dev/battery_history                                                        u:object_r:battery_history_device:s0
210/data/vendor/powerstats(/.*)?                                               u:object_r:powerstats_vendor_data_file:s0
211/data/vendor/fingerprint(/.*)?                                              u:object_r:fingerprint_vendor_data_file:s0
212
213# Persist
214/mnt/vendor/persist/battery(/.*)?                                           u:object_r:persist_battery_file:s0
215/mnt/vendor/persist/camera(/.*)?                                            u:object_r:persist_camera_file:s0
216/mnt/vendor/persist/modem(/.*)?                                             u:object_r:persist_modem_file:s0
217/mnt/vendor/persist/ss(/.*)?                                                u:object_r:persist_ss_file:s0
218/mnt/vendor/persist/uwb(/.*)?                                               u:object_r:persist_uwb_file:s0
219/mnt/vendor/persist/display(/.*)?                                           u:object_r:persist_display_file:s0
220
221# Extra mount images
222/mnt/vendor/modem_img(/.*)?                                                 u:object_r:modem_img_file:s0
223/mnt/vendor/efs(/.*)?                                                       u:object_r:modem_efs_file:s0
224/mnt/vendor/efs_backup(/.*)?                                                u:object_r:modem_efs_file:s0
225/mnt/vendor/modem_userdata(/.*)?                                            u:object_r:modem_userdata_file:s0
226