blob: a5ac85dc7d1662ed9d0c0cb9c2f8da00ab65340b [file] [log] [blame]
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -04001/persist/.genmac u:object_r:wifi_data_file:s0
2/persist/.bt_nv.bin u:object_r:bluetooth_data_file:s0
3
Zvikomborero VIncent Zvikarambaa7501282016-08-19 02:18:23 -04004/sys/devices/soc.0/78b9000.i2c/i2c-5/5-0040/gesture u:object_r:touchpanel_sysfs:s0
5
6# Bluetooth
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -04007/system/bin/btnvtool u:object_r:bluetooth_loader_exec:s0
8/system/etc/init\.qcom\.bt\.sh u:object_r:bluetooth_loader_exec:s0
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -04009/dev/smd3 u:object_r:hci_attach_dev:s0
Zvikomborero VIncent Zvikarambaa7501282016-08-19 02:18:23 -040010/efs/bluetooth(/.*)? u:object_r:bluetooth_efs_file:s0
Zvikomborero VIncent Zvikarambaa25011a2016-07-21 16:32:35 -040011
Zvikomborero VIncent Zvikaramba6d431102016-08-19 11:10:16 -040012#Workaround for QSEECOM
Zvikomborero VIncent Zvikarambac6b51552016-08-19 11:39:41 -040013/firmware/image/keymaste.* u:object_r:keymaster_firmware_file:s0
Zvikomborero VIncent Zvikaramba6d431102016-08-19 11:10:16 -040014/firmware/image/sshdcpap.mdt u:object_r:sshdcpap_firmware_file:s0
15
Zvikomborero VIncent Zvikarambaa7501282016-08-19 02:18:23 -040016/dev/i2c-1 u:object_r:audio_device:s0
17
18# Camera
19/sys/devices/virtual/camera(/.*)? u:object_r:sysfs_camera:s0
20/data/cam_socket.* u:object_r:camera_socket:s0
Zvikomborero VIncent Zvikaramba0bb7fd92016-08-19 11:23:02 -040021/sys/class/camera/rear(/.*)? u:object_r:sysfs_class_camera_rear:s0
Zvikomborero VIncent Zvikarambaa7501282016-08-19 02:18:23 -040022
23# Workaround for input
24/sys/devices/soc.0/i2c.78/i2c-11/11-0020/input/input1/enabled u:object_r:sysfs_input:s0
25/sys/devices/soc.0/i2c.72/i2c-12/12-0048/input/input3/enabled u:object_r:sysfs_input:s0
26
27# Sensors
28/efs/prox_cal u:object_r:sensors_efs_file:s0
29
30# CMHW
31/sys/devices/virtual/timed_output/vibrator(/.*)? u:object_r:sysfs_vibeamp:s0
Zvikomborero VIncent Zvikaramba07a989e2016-08-19 03:48:37 -040032
33# data files
34/data/snd(/.*)? u:object_r:snd_data_file:s0
Zvikomborero VIncent Zvikaramba3927d122016-08-21 22:49:17 -040035
36#############################
37# DATA file of qcom_common
38#
39/data/misc/gpsone_d(/.*)? u:object_r:gps_data_file:s0
40
41#############################
42# EFS file of sec_common
43#
44/cpefs(/.*)? u:object_r:sec_efs_file:s0
45/efs/carrier(/.*)? u:object_r:carrier_efs_file:s0
46/efs/cpk(/.*)? u:object_r:cpk_efs_file:s0
47/efs/drx(/.*)? u:object_r:sec_efs_file:s0
48/efs/FactoryApp(/.*)? u:object_r:app_efs_file:s0
49/efs/imei(/.*)? u:object_r:imei_efs_file:s0
50/efs/ims_setting(/.*)? u:object_r:sec_efs_file:s0
51/efs/iss(/.*)? u:object_r:iss_efs_file:s0
52/efs/logguard(/.*)? u:object_r:iss_efs_file:s0
53/efs/maxim(/.*)? u:object_r:sec_efs_file:s0
54/efs/mc(/.*)? u:object_r:prov_efs_file:s0
55/efs/\.nv_core\.bak(.*) u:object_r:nv_core_efs_file:s0
56/efs/otadm(/.*)? u:object_r:otadm_efs_file:s0
57/efs/otadm_sw_version u:object_r:otadm_efs_file:s0
58/efs/pfw_data(/.*)? u:object_r:pfw_efs_file:s0
59/efs/prov(/.*)? u:object_r:prov_efs_file:s0
60/efs/prov_data(/.*)? u:object_r:prov_efs_file:s0
61/efs/recovery(/.*)? u:object_r:sec_efs_file:s0
62/efs/root(/.*)? u:object_r:app_efs_file:s0
63/efs/sec_efs(/.*)? u:object_r:sec_efs_file:s0
64/efs/security(/.*)? u:object_r:prov_efs_file:s0
65/efs/sktdm_mem(/.*)? u:object_r:sec_efs_file:s0
66/efs/SMS(/.*)? u:object_r:sec_efs_file:s0
67/efs/SlideCount u:object_r:app_efs_file:s0
68/efs/TEE(/.*)? u:object_r:prov_efs_file:s0
69/efs/wifi(/.*)? u:object_r:wifi_efs_file:s0
70/efs_gsm(/.*)? u:object_r:efs_gsm_file:s0
71
72#############################
73# EFS file of qcom_common
74#
75/efs/drm(/.*)? u:object_r:drm_efs_file:s0
76/efs/.drm(/.*)? u:object_r:drm_efs_file:s0
77
78#############################
79# EFS file of slsi_common
80#
81/efs/gyro_cal_data u:object_r:sensor_efs_file:s0
82/efs/nv_data.bin(.*) u:object_r:bin_nv_data_efs_file:s0
83
84
85#############################
86# MNT of bcom_common
87#
88/mnt/modemfsro(/.*)? u:object_r:modem_firmware:s0
89/mnt/modemfsro_fix(/.*)? u:object_r:modem_firmware:s0
90/mnt/modemfsrw(/.*)? u:object_r:modem_firmware:s0
91/mnt/modemfw(/.*)? u:object_r:modem_firmware:s0
92/mnt/modemlog(/.*)? u:object_r:modem_firmware:s0
93
94#############################
95# Carrier file of sec_common
96# carrier folder for Sprint(Qualcomm and SLSI)
97/carrier(/.*)? u:object_r:carrier_file:s0
98
99#############################
100# DATA file of sec_common
101#
102/data/app-lib(/.*)? u:object_r:app_library_file:s0
103/data/bcmnfc(/.*)? u:object_r:nfc_data_file:s0
104/data/data/.* u:object_r:app_data_file:s0
105#/data/data/.drm(/.*)? u:object_r:drm_data_file:s0
106#/data/data/com.android.providers.downloads/cache u:object_r:download_file:s0
107/data/data/com.android.settings/files/wallpaper u:object_r:wallpaper_file:s0
108/data/data/com.android.shell(/.*)? u:object_r:shell_data_file:s0
109/data/data/imsqmisocket u:object_r:system_data_file:s0
110/data/KEqvTaYEYkuJr1Mn+t-SwFvbgYo_(/.*)? u:object_r:tima_keystore_file:s0
111/data/log(/.*)? u:object_r:dumplog_data_file:s0
112/data/media.tmp(/.*)? u:object_r:media_rw_data_file:s0
113/data/media/obb(/.*)? u:object_r:obb_apk_file:s0
114#from nsa
115/data/misc/jack(/.*)? u:object_r:jack_data_file:s0
116/data/misc/tima(/.*)? u:object_r:tima_log:s0
117
118/data/system/users(/.*)? u:object_r:users_system_data_file:s0
119/data/system/users(/.*)/wallpaper u:object_r:wallpaper_file:s0
120/data/tee(/.*)? u:object_r:tee_data_file:s0
121
122#############################
123# System files of qcom_common
124#/system/bin/mfgloader u:object_r:mfgloader_exec:s0
125/system/bin/qmiproxy u:object_r:qmiproxy_exec:s0
126/system/bin/wlandutservice u:object_r:wlandutservice_exec:s0
127
128#############################
129# System files of sec_common
130#
131/system/bin/app_process u:object_r:zygote_exec:s0
132/system/bin/at_distributor u:object_r:at_distributor_exec:s0
133/system/bin/mksh u:object_r:shell_exec:s0
134/system/bin/bugreport u:object_r:bugreport_exec:s0
135/system/bin/connfwexe u:object_r:connfwexe_exec:s0
136/system/bin/cs u:object_r:cs_exec:s0
137/system/bin/ddexe u:object_r:ddexe_exec:s0
138/system/bin/dumpsys u:object_r:dumpsys_exec:s0
139/system/bin/icd u:object_r:icd_exec:s0
140/system/bin/insthk u:object_r:insthk_exec:s0
141/system/bin/jackservice u:object_r:jackservice_exec:s0
142/system/bin/olsrd u:object_r:olsrd_exec:s0
143/system/bin/sec-ril u:object_r:sec-ril_exec:s0
144/system/bin/sensorhubservice u:object_r:sensorhubservice_exec:s0
145/system/bin/ss_conn_daemon u:object_r:ss_conn_daemon_exec:s0
146/system/bin/smdexe u:object_r:smdexe_exec:s0
147/system/bin/otp_server u:object_r:otp_server_exec:s0
148# conflict with Qcom BSP, /system/bin/wcnss_service u:object_r:wcnss_service_exec:s0
149/system/bin/wpa_supplicant_real u:object_r:wpa_exec:s0
150# to run resopt on system_server
151/system/bin/resopt u:object_r:system_file:s0
152# to run zip on resopt, on system_server
153/system/bin/zip u:object_r:system_file:s0
154
155
156#############################
157# DATA file
158#
159/data/data/.drm(/.*)? u:object_r:drm_playready_file:s0
160#/data/data/.drm/.playready(/.*)? u:object_r:drm_playready_file:s0
161#/data/data/.drm/.playready/aeskey.dat u:object_r:drm_data_file:s0
162/data/nfc/(/.*)? u:object_r:nfc_data_file:s0
163#############################
164# efs file
165#
166# com.sec.android.preloadinstaller write currentlyFactoryReset
167# path was changed /efs/recovery/currentlyFactoryReset" by recovery team.
168#/efs/.currentlyFactoryReset u:object_r:app_efs_file:s0
169# com.sec.imsservice write silent_redial
170/efs/silent_redial u:object_r:app_efs_file:s0
171# HDCP and Widevine key. support r/w for radio and system app
172/efs/h2k.dat u:object_r:cpk_efs_file:s0
173/efs/redata.bin u:object_r:cpk_efs_file:s0
174/efs/wv.keys u:object_r:cpk_efs_file:s0
175/efs/total_call_time u:object_r:app_efs_file:s0
176
177
178#############################
179# System files of sec_common
180#
181/system/bin/ftm_ptt u:object_r:ftm_ptt_exec:s0
182/system/bin/lpm u:object_r:lpm_exec:s0
183
184#############################
185# Device node of sec_common
186#
187/dev/block/mmcblk[0-9].* u:object_r:emmcblk_device:s0
188/dev/block/zram[0-9] u:object_r:ram_device:s0
189
190/sys/class/net/wlan0/queues/rx-[0-9]/rps_cpus u:object_r:sysfs_ss_writable:s0
191/sys/class/kgsl/kgsl-3d0/dispatch(/.*)? -- u:object_r:sysfs_ss_writable:s0
192/sys/class/power_supply/battery/camera u:object_r:sysfs_app_writable:s0
193
194#############################
195# Device node of sec_common
196#
197/dev/.secure_storage(/.*)? u:object_r:secure_storage_device:s0
198/dev/__kmsg u:object_r:klog_device:s0
199/dev/alps_io u:object_r:input_device:s0
200/dev/android_ssusbcon(/.*)? u:object_r:usb_device:s0
201/dev/bcm2079x u:object_r:nfc_device:s0
202/dev/block/mmcblk0p[0-9]* u:object_r:emmcblk_device:s0
203/dev/block/mmcblk[0-9]* u:object_r:emmcblk_device:s0
204/dev/block/mmcblk1p.* u:object_r:emmcblk_device:s0
205/dev/block/mmcblk1p1 u:object_r:emmcblk_device:s0
206# remove this label because of selabel_lookup_best_match /dev/block/platform/dw_mmc.* u:object_r:dw_mmc_device:s0
207/dev/block/platform/msm_sdcc.1/by-name/param u:object_r:emmcblk_device:s0
208/dev/block/sd[a-z][0-9]* u:object_r:emmcblk_device:s0
209/dev/block/vnswap0 u:object_r:swap_device:s0
210/dev/bus/usb(/.*)? u:object_r:usb_bus_device:s0
211/dev/cdma_.* u:object_r:radio_device:s0
212# conflict with Qcom BSP, /dev/diag u:object_r:diag_device:s0
213/dev/i2c.* u:object_r:i2c_device:s0
214/dev/icd u:object_r:icd_device:s0
215/dev/icdr u:object_r:icd_device:s0
216/dev/pipes(/.*)? u:object_r:system_fifo:s0
217/dev/p3 u:object_r:sem_device:s0
218/dev/p61 u:object_r:sem_device:s0
219/dev/pn547 u:object_r:nfc_device:s0
220/dev/sec-nfc u:object_r:nfc_device:s0
221/dev/sec-nfc-fn u:object_r:nfc_device:s0
222/dev/socket/bluetooth u:object_r:bluetooth_socket:s0
223/dev/socket/cs_socket u:object_r:cs_socket:s0
224/dev/socket/dir_enc_report u:object_r:vold_socket:s0
225/dev/socket/drsd u:object_r:drsd_socket:s0
226/dev/socket/frigate u:object_r:frigate_socket:s0
227/dev/socket/jack(/.*)? u:object_r:jack_socket:s0
228/dev/socket/mtp(/.*)? u:object_r:mtp_socket:s0
229/dev/socket/ppm u:object_r:epm_socket:s0
230/dev/socket/rild[0-9]* u:object_r:rild_socket:s0
231/dev/socket/rild-debug[0-9]* u:object_r:rild_debug_socket:s0
232/dev/socket/ss_conn_daemon u:object_r:ss_conn_daemon_socket:s0
233/dev/socket/tz u:object_r:tz_socket:s0
234/dev/sound_trigger_boost u:object_r:audio_device:s0
235/dev/ssp_sensorhub u:object_r:input_device:s0
236/dev/timerirq u:object_r:timerirq_device:s0
237/dev/ttyGS[0-9]* u:object_r:usb_serial_device:s0
238/dev/ttyUSB[0-9]* u:object_r:usb_device:s0
239/dev/usb(/.*)? u:object_r:usb_device:s0
240/dev/usb.* u:object_r:usb_device:s0
241/dev/usb/tty.* u:object_r:usb_device:s0
242/dev/usb_mtp_gadget.* u:object_r:mtp_device:s0
243/dev/video4[0-9] u:object_r:camera_device:s0
244
245/dev/efs_bridge u:object_r:efsbridgehsic_device:s0
246/dev/ks_bridge u:object_r:ksbridgehsic_device:s0
247/dev/rmnet_mux_ctrl u:object_r:rmnet_device:s0
248
249/dev/ttyHSL[0-9]* u:object_r:serial_device:s0
250#line 1 "vendor/samsung/common/sepolicy/model/ctsv4/file_contexts"
251