blob: ce308010fdd631ab201ac3356e0956516421928b [file] [log] [blame]
Biswajit Paulbf8f4912014-01-17 15:07:21 -08001# Default type for anything under /firmware.
Ravi Kumar Siddojigari19495d22014-08-22 23:57:43 +05302type firmware_file, fs_type, contextmount_type;
Avijit Kanti Das2d70e6f2014-07-24 01:06:21 -07003
4#Define the qmux socket type
Biswajit Paul64f83f62014-10-13 14:36:16 -07005type qmuxd_socket, file_type;
Avijit Kanti Das353e9292014-07-23 23:39:30 -07006
Avijit Kanti Das441bad42015-05-12 14:07:41 -07007#Define the netmgrd socket type
8type netmgrd_socket, file_type;
9
Biswajit Paul28439f92015-07-15 13:28:27 -070010#Define the pps socket type
11type pps_socket, file_type;
12
Avijit Kanti Das0196c6a2014-07-23 23:44:35 -070013# Define cnd socket and data file type
Biswajit Paul485b3772015-09-01 12:33:25 -070014type cnd_socket, file_type, mlstrustedobject;
Rajshekar Eashwarappadbec60f2017-09-13 16:45:31 +053015type cnd_data_file, file_type, data_file_type;
Sathish Ambley3ece6952017-12-01 14:49:10 -080016type chre_socket, file_type;
Avijit Kanti Das0196c6a2014-07-23 23:44:35 -070017
Susheel Yadagirid0927c62014-10-14 16:01:45 -070018# Define dpmd data file type
Devi Sandeep Endluri V V98379eb2017-06-20 22:19:40 -070019#type dpmd_socket, file_type;
20#type dpmwrapper_socket, file_type, mlstrustedobject;
21#type dpmd_data_file, file_type, data_file_type;
Siddeswar Aluganti759e1892017-01-12 18:25:28 -080022#typealias system_app_data_file alias dpmd_app_data_file;
23#typealias system_app_data_file alias qtitetherservice_app_data_file;
Susheel Yadagirid0927c62014-10-14 16:01:45 -070024
Avijit Kanti Das353e9292014-07-23 23:39:30 -070025#Define the timeout for platform specific transports
Avijit Kanti Das0a2c91f2014-06-18 16:02:17 -070026type sysfs_hsic_modem_wait, sysfs_type, fs_type;
27type sysfs_smd_open_timeout, sysfs_type, fs_type;
Avijit Kanti Das353e9292014-07-23 23:39:30 -070028
29#Define the files written during the operation of netmgrd and qmuxd
Subash Abhinov Kasiviswanathan121430c2017-05-25 17:35:27 -060030type netmgrd_data_file, file_type, data_file_type;
Avijit Kanti Das353e9292014-07-23 23:39:30 -070031type data_test_data_file, file_type, data_file_type;
Dinesh K Garg9bd586d2014-02-27 13:52:43 -080032type sysrq_trigger_proc, fs_type, mlstrustedobject;
Biswajit Paul45df9ab2014-03-07 10:17:54 -080033# Persist file types
34type persist_file, file_type;
Srinu Jella163b0022015-11-13 14:56:55 +053035type persist_bluetooth_file, file_type;
Dinesh K Garge5bafbf2014-10-22 00:13:49 -070036type persist_data_file, file_type;
37type persist_drm_file, file_type;
Trudy Shearerceca8292017-07-13 11:38:00 +010038type data_qtee_file, file_type, data_file_type;
Rajshekar Eashwarappadbec60f2017-09-13 16:45:31 +053039type data_qsee_file, file_type, data_file_type;
Fang Yunong64251252015-06-24 10:43:50 -070040type persist_misc_file, file_type;
Subbaraman Narayanamurthycc595732016-06-08 18:02:13 -070041type persist_bms_file, file_type;
Konstantin Dorfman0c055522017-08-21 18:16:57 +030042type persist_secnvm_file, file_type;
Avijit Kanti Das71c08422014-07-25 17:11:21 -070043
Avijit Kanti Das0a2c91f2014-06-18 16:02:17 -070044type diag_data_file, file_type, data_file_type;
Avijit Kanti Das345ffcb2014-07-24 01:03:22 -070045
46#file type for restricting proc read by audiod
47type proc_audiod, fs_type;
48
Stephen Boyd02889d22015-01-09 17:34:10 -080049#file type for irqbalance socket
50type msm_irqbalance_socket, file_type;
51
Avijit Kanti Das345ffcb2014-07-24 01:03:22 -070052# Sensor file types
Avijit Kanti Das345ffcb2014-07-24 01:03:22 -070053type sensors_socket, file_type;
54type sensors_data_file, file_type, data_file_type;
55type sensors_persist_file, file_type;
Shaikh Shadul939f3622017-08-23 21:38:43 +053056type sysfs_sensors, sysfs_type, fs_type;
Shiju Mathew30dea982014-04-11 11:51:53 -040057
58#type for thermal-engine
Shiju Mathew30dea982014-04-11 11:51:53 -040059type thermal_socket, file_type;
Ravi Kumar Siddojigarib80b30a2014-09-04 16:28:43 +053060#type for uart
61type sysfs_msmuart_file, sysfs_type, fs_type;
62
63# Storage RFS file types
Avijit Kanti Dasaddc6472015-08-14 18:04:36 -070064type rfs_file, file_type, data_file_type;
Ravi Kumar Siddojigarib80b30a2014-09-04 16:28:43 +053065type rfs_system_file, file_type;
Avijit Kanti Dasaddc6472015-08-14 18:04:36 -070066type rfs_shared_hlos_file, file_type, data_file_type;
Ravi Kumar Siddojigarib80b30a2014-09-04 16:28:43 +053067
68#mm-pp-daemon file type for sysfs access
Divya Sharma2a4a8bb2017-01-27 15:18:09 -080069#type sysfs_leds, fs_type, sysfs_type;
Ravi Kumar Siddojigarib80b30a2014-09-04 16:28:43 +053070
71#Define the files written during the operation of mm-pp-daemon
72type data_ad_calib_cfg, file_type, data_file_type;
73
74#SurfaceFlinger file type for sysfs access
75type sysfs_graphics, sysfs_type, fs_type;
76
77# USB/battery power supply type for hvdcp/quickcharge
78type sysfs_usb_supply, sysfs_type, fs_type;
79type sysfs_battery_supply, sysfs_type, fs_type;
Ashay Jaiswal7c4c4c22017-07-06 17:21:55 +053080type sysfs_usbpd_device, sysfs_type, fs_type;
Srinivasa Rao Kuppla61049222017-06-19 11:34:12 -070081
82# sysfs module for usb_f_mtp/parameters
83type sysfs_usb_mtp_device, sysfs_type, fs_type;
84
85# sysfs module for usb_f_mtp/parameters
86type sysfs_spmi_device, sysfs_type, fs_type;
87
Fenglin Wucdf1d542017-08-31 09:53:13 +080088# sysfs vadc device for hvdcp/quickcharge
89type sysfs_vadc_dev, sysfs_type, fs_type;
90# sysfs spmi device for hvdcp/quickcharge
91type sysfs_spmi_dev, sysfs_type, fs_type;
Ravi Kumar Siddojigarib80b30a2014-09-04 16:28:43 +053092
93#Define the files written during the operation of mpdecision
94type sysfs_mpdecision, fs_type, sysfs_type;
95type sysfs_rqstats, fs_type, sysfs_type;
96type sysfs_cpu_online, fs_type, sysfs_type;
YumeMichi425a78c2018-02-08 17:32:55 +080097type mpctl_socket, file_type, data_file_type, mlstrustedobject;
Vince Leung06bd7d82014-10-15 15:15:57 -070098type mpctl_data_file, file_type, data_file_type;
Avijit Kanti Das36fb2c12014-10-06 15:21:57 -070099
Balamurugan Thanikachalam226d0782017-07-13 13:01:48 +0530100#Define the files used by lm
101type lm_data_file, file_type, data_file_type;
102
Varun Garg473dbf52017-04-25 17:06:48 +0530103type sysfs_devfreq, fs_type, sysfs_type;
c_mtharuc3f80442017-11-13 14:57:45 +0530104type sysfs_devfreq_l3cdsp, fs_type, sysfs_type;
Varun Garg473dbf52017-04-25 17:06:48 +0530105type sysfs_mmc_host, fs_type, sysfs_type;
106type sysfs_scsi_host, fs_type, sysfs_type;
107type sysfs_cpu_boost, fs_type, sysfs_type;
108type sysfs_msm_perf, fs_type, sysfs_type;
109type sysfs_memory, fs_type, sysfs_type;
Karthik Gopalan7c268992017-08-31 17:20:42 +0530110type sysfs_lib, fs_type, sysfs_type;
Shashi Shekar Shankar99b80a42017-11-07 17:30:20 +0530111type sysfs_process_reclaim, fs_type, sysfs_type;
Varun Garg473dbf52017-04-25 17:06:48 +0530112
Prasanth Kamuju57481b62016-02-06 15:27:33 +0530113#define the files writer during the operation of app state changes
114type gamed_socket, file_type;
115
Abhimanyu Garg48540b02015-07-06 21:54:53 -0700116#define the files writter during the operatio of iop
117type iop_socket, file_type;
118type iop_data_file, file_type, data_file_type;
119
Amir Samuelov0ab8dbe2016-08-17 10:44:37 +0300120# SPSS Apps images location
121type spss_data_file, file_type, data_file_type;
122
Avijit Kanti Das36fb2c12014-10-06 15:21:57 -0700123#mm-qcamera-daemon socket
Rajshekar Eashwarappadbec60f2017-09-13 16:45:31 +0530124type camera_socket, file_type, data_file_type;
Avijit Kanti Dase0405802014-09-08 18:23:18 -0700125
126#Socket node needed by ims_data daemon
127type ims_socket, file_type;
Ameya Thakur9c45c062014-07-15 16:10:43 -0700128
Kevin Hartae1a7302017-04-21 11:33:29 -0700129#mink-lowi-interface-daemon (mlid) socket
130type mlid_socket, file_type, mlstrustedobject;
131
Sagar Dhawan61000ce2017-07-18 10:37:42 -0700132#ssg qmi gateway daemon socket
133type ssgqmig_socket, file_type, mlstrustedobject;
134
Sagar Dhawan9da1b4f2017-08-18 13:09:18 -0700135#ssg tz daemon socket
136type ssgtzd_socket, file_type, mlstrustedobject;
137
Tushar Janefalkar87c1f922014-10-21 15:16:12 -0700138#location file types
139type location_data_file, file_type, data_file_type;
Rajshekar Eashwarappadbec60f2017-09-13 16:45:31 +0530140type location_socket, file_type, data_file_type;
Tushar Janefalkar87c1f922014-10-21 15:16:12 -0700141type location_app_data_file, file_type, data_file_type;
142
Ameya Thakur9c45c062014-07-15 16:10:43 -0700143#File types required by mdm-helper
144type sysfs_esoc, sysfs_type, fs_type;
145type sysfs_ssr, sysfs_type, fs_type;
Ameya Thakur37b34bc2014-10-20 14:58:24 -0700146type sysfs_ssr_toggle, sysfs_type, file_type;
Ameya Thakur9c45c062014-07-15 16:10:43 -0700147type sysfs_hsic, sysfs_type, fs_type;
148type sysfs_hsic_host_rdy, sysfs_type, file_type;
Ameya Thakurb6947d62014-10-01 16:32:13 -0700149
150# Files accessed by qcom-system-daemon
151type sysfs_socinfo, fs_type, sysfs_type;
Tarun Gupta4f7527d2014-10-13 22:54:12 +0530152
153#Define the sysfs files for usb_uicc_daemon
154type sysfs_usb_uicc, sysfs_type, fs_type;
jinwuf1e16bf2014-10-14 18:36:18 +0800155
Biswajit Paul485b3772015-09-01 12:33:25 -0700156type qlogd_socket, file_type, mlstrustedobject;
Rajshekar Eashwarappadbec60f2017-09-13 16:45:31 +0530157type qlogd_data_file, file_type, data_file_type;
Tatenda Chipeperekwa001a8b62015-01-27 17:39:21 -0800158#Defines the files (configs, dumps, etc) used by display processes
Bruno Martinsf689f7f2018-09-16 23:23:14 +0100159type display_vendor_data_file, file_type, data_file_type;
Avijit Kanti Das2b495d02014-10-20 17:43:13 -0700160
Nitesh Gupta59d96c02015-01-16 17:25:55 +0530161#Define the files for the operation of QDCM
162type persist_display_file, file_type;
163
Avijit Kanti Das2b495d02014-10-20 17:43:13 -0700164# IPA file types
165type ipacm_socket, file_type;
Rajshekar Eashwarappadbec60f2017-09-13 16:45:31 +0530166type ipacm_data_file, file_type, data_file_type;
Tyler Weara56100f2017-10-05 14:54:03 -0700167type ipa_vendor_data_file, file_type, data_file_type;
Mulu He738a29d2014-10-27 16:19:16 +0800168
Avijit Kanti Das441bad42015-05-12 14:07:41 -0700169# Port-bridge file types
170type port_bridge_data_file, file_type, data_file_type;
171
Venkateshwarlu Domakonda119438c2015-07-27 17:07:28 +0530172type fm_data_file, file_type, data_file_type;
173
Mulu He738a29d2014-10-27 16:19:16 +0800174#Define the files written during the operation of mmi
175type mmi_data_file, file_type, data_file_type;
Sungjun Parke5b57392014-12-26 11:53:41 -0800176
177#bluetooth firmware file types
178type bt_firmware_file, fs_type, contextmount_type;
Biswajit Paula1432652015-01-22 15:19:38 -0800179
Ravi Kumar Siddojigari733050a2014-11-19 17:32:24 +0530180#needed by vold
181type proc_dirty_ratio, fs_type;
Mohan Pallakab4053ef2014-11-25 14:01:29 -0800182
muluhecf9aad12015-05-28 15:52:11 +0800183#File types by mmi
184type mmi_socket, file_type;
185
Mohan Pallakab4053ef2014-11-25 14:01:29 -0800186# hbtp config file
187type hbtp_cfg_file, file_type;
Rajshekar Eashwarappadbec60f2017-09-13 16:45:31 +0530188type hbtp_log_file, file_type, data_file_type;
Shantanu Jainf0a9cd82016-06-29 11:55:47 +0530189type hbtp_kernel_sysfs, file_type, sysfs_type;
Ravit Denniseef34992014-10-29 20:09:18 +0200190
191#Define the files written during the operation of usf
192type usf_data_file, file_type, data_file_type;
193type persist_usf_file, file_type;
Alexy Josepha2ff47f2015-01-07 15:15:05 -0800194
Biswajit Paul28439f92015-07-15 13:28:27 -0700195#qfp-daemon
196type qfp-daemon_data_file, file_type, data_file_type;
Abir Ghosh2cd6e6e2017-02-08 15:08:55 +0530197type persist_qti_fp_file, file_type;
Biswajit Paul28439f92015-07-15 13:28:27 -0700198
Alexy Josepha2ff47f2015-01-07 15:15:05 -0800199# dts notifier files
200type dts_data_file, file_type, data_file_type;
William Clark11178492015-03-02 13:39:59 -0800201
Puneet Mishra458a1bb2015-08-07 12:21:10 +0100202#qsee_svc_app file types
203type qsee_svc_app_data_file, file_type, data_file_type;
204
Ayishwarya Narasimhan1b6c07a2017-07-17 18:25:20 -0700205# imshelper_app file types
206type imshelper_app_data_file, file_type, data_file_type;
207
Biswajit Paul28439f92015-07-15 13:28:27 -0700208# RIDL data files
209type RIDL_data_file, file_type, data_file_type;
Rajshekar Eashwarappadbec60f2017-09-13 16:45:31 +0530210type RIDL_socket, file_type, data_file_type;
Biswajit Paul28439f92015-07-15 13:28:27 -0700211
Mathew Winn1be11952015-10-20 11:37:33 -0700212# qti_logkit data files (privileged and public)
213type qti_logkit_priv_data_file, file_type, data_file_type;
214type qti_logkit_pub_data_file, file_type, data_file_type;
Rajshekar Eashwarappadbec60f2017-09-13 16:45:31 +0530215type qti_logkit_priv_socket, file_type, data_file_type;
216type qti_logkit_pub_socket, file_type, mlstrustedobject, data_file_type;
Mathew Winn1be11952015-10-20 11:37:33 -0700217
Ravi Kumar Siddojigari29f63ce2015-07-09 12:55:00 +0530218# used for /dsp files
Biswajit Paul485b3772015-09-01 12:33:25 -0700219type adsprpcd_file, file_type, mlstrustedobject;
Dhananjay Kumar8a0fb732015-09-04 12:39:39 +0530220
221# audio pp notifier files
222type audio_pp_data_file, file_type, data_file_type;
Maunik Shah63a75052015-05-18 21:57:43 +0530223
Amit Blayb143fa12015-10-02 11:34:27 +0300224#mdtp_svc_app file types
225type mdtp_svc_app_data_file, file_type, data_file_type;
226
Maunik Shah63a75052015-05-18 21:57:43 +0530227# subsystem_ramdump files
228type ssr_ramdump_data_file, file_type, data_file_type;
Bryse Flowersfc056eb2015-10-07 14:16:45 -0700229
Chenyang Zhangc1c74da2016-01-05 14:03:09 +0800230# Regionalization files
231type regionalization_file, file_type;
Chitti Babu Theegala0195b752016-02-18 16:29:38 +0530232
233# /data/system/swap/swapfile - swapfile
234type swap_data_file, file_type, data_file_type;
jgea6732fa2016-03-11 15:32:51 +0800235
236# dynamic nv files
237type dynamic_nv_data_file, file_type, data_file_type;
Paul Zhang7b30e7c2016-03-16 14:48:19 +0800238
Hardik Kantilal Patelca77ba92017-05-16 16:10:09 +0530239# Wifi Data file
240type wifi_vendor_data_file, file_type, data_file_type;
Rajshekar Eashwarappadbec60f2017-09-13 16:45:31 +0530241type wifi_vendor_wpa_socket, file_type, data_file_type;
Sridhar Parasuram64fdeae2018-02-02 16:09:10 -0800242type hostapd_socket, file_type, data_file_type;
Hardik Kantilal Patelca77ba92017-05-16 16:10:09 +0530243
Paul Zhang7b30e7c2016-03-16 14:48:19 +0800244# wififtmd socket file
245type wififtmd_socket, file_type;
Mao Jinlong034f8d92016-07-13 18:31:54 +0800246
247type persist_alarm_file, file_type;
Mao Jinlong7db678b2016-08-15 15:07:23 +0800248
249type persist_time_file, file_type;
Jonathan Wicks8f5cc182016-09-13 20:25:42 -0600250
Rohit Rangwani7476f392018-03-14 12:21:38 +0530251# nfc file type for data vendor access
252type nfc_vendor_data_file, file_type, data_file_type;
253
Jonathan Wicks8f5cc182016-09-13 20:25:42 -0600254# kgsl file type for sysfs access
255type sysfs_kgsl, sysfs_type, fs_type;
Kishore Srivenkata Ganesh Bolisetty0e10afa2017-07-28 16:41:35 +0530256type sysfs_kgsl_proc, sysfs_type, fs_type;
Hareesh Gundu6d32f052017-09-25 21:13:33 +0530257type sysfs_kgsl_gpuclk, sysfs_type, fs_type;
Dany Rybnikovce077162016-03-14 14:22:47 +0200258
259# secure touch files
260type sysfs_securetouch, fs_type, sysfs_type;
Sunmeet Gill575d2492017-05-22 19:03:52 -0700261
262#data sysfs files
263type sysfs_data, fs_type, sysfs_type;
264
265#diag sysfs files
266type sysfs_diag, fs_type, sysfs_type;
Shawn Shincc13e012017-05-04 22:26:04 -0700267
Mukund Mittald317a152017-07-03 15:59:55 +0530268#laser sysfs files
269type sysfs_laser, fs_type, sysfs_type;
270
Shawn Shincc13e012017-05-04 22:26:04 -0700271# QDMA data files
272type qdma_data_file, file_type, data_file_type;
273type qdma_app_data_file, file_type, data_file_type;
Shawn Shini3d4536a2017-08-14 16:25:22 -0700274type qdma_socket, file_type;
Ravi Kumar Siddojigari92eed182017-06-27 00:25:03 +0530275
276# path to debugfs use this whic should be only used
277# in debug builds
278type qti_debugfs, fs_type, debugfs_type;
Huaibin Yang28b819f2017-05-26 15:29:28 -0700279
280# vendor radio files
281type vendor_radio_data_file, file_type, data_file_type;
Channagoud Kadabifeedef72017-06-13 16:53:15 -0700282
Ankit Jain94841f32017-09-25 11:09:36 +0530283#uio sysfs
284type sysfs_uio_file, fs_type, sysfs_type;
285
Channagoud Kadabifeedef72017-06-13 16:53:15 -0700286#irq balance sysfs type
287type sysfs_irqbalance , sysfs_type, fs_type;
Li Sun2578ed82017-06-13 10:50:27 +0800288
289# vpp files
290type vpp_data_file, file_type, data_file_type;
291type persist_vpp_file, file_type;
Suman Mukherjee2d2e6e92017-07-11 20:13:08 +0530292# vendor camera files
293type vendor_camera_data_file, file_type, data_file_type;
Lior David4420cfc2017-05-23 10:40:44 +0300294
Brahmaji K93680842017-08-18 18:47:19 +0530295#tloc data files
296type tlocd_data_file, file_type, data_file_type;
297
Lior David4420cfc2017-05-23 10:40:44 +0300298# wigig, fstman
299type sysfs_bond0, fs_type, sysfs_type;
300type sysfs_wigig, fs_type, sysfs_type;
Lior David1f4ed462017-08-04 16:54:50 +0300301type wigignpt_socket, file_type, data_file_type;
Lior David4420cfc2017-05-23 10:40:44 +0300302
303# wigig_hostapd
Salendarsingh Gaud116a7232017-08-19 20:54:23 +0530304type wigig_hostapd_socket, file_type, data_file_type;
Archana Sathyakumarf6624922017-06-21 11:02:18 -0600305
306# ea sysfs files
307type sysfs_ea, fs_type, sysfs_type;
Revathi Uddarajue3d83732017-07-24 17:50:02 +0530308
309#audio sysfs files
310type sysfs_audio, fs_type, sysfs_type;
Archana Sathyakumare76287a2017-06-30 11:29:53 -0600311
Ramjee Singh5e921462017-12-12 20:35:23 +0530312#audio sysfs files
313type sysfs_boot, fs_type, sysfs_type;
314
Archana Sathyakumare76287a2017-06-30 11:29:53 -0600315# lpm sysfs files
316type sysfs_msm_stats, fs_type, sysfs_type;
317type sysfs_msm_power, fs_type, sysfs_type;
Abir Ghosh2cb34392017-06-21 15:26:04 -0700318
319# Data type for QVOP
320type qvop-daemon_data_file, file_type, data_file_type;
Kamal Negiae1ecb92017-09-25 16:03:27 +0530321
322type sysfs_fm, sysfs_type, fs_type;
Paresh Purabhiya9c8461b2017-12-20 20:25:15 +0530323
324# for adsp to load /sys/kernel/boot_adsp/boot
325type sysfs_boot_adsp, sysfs_type, fs_type;
326
Ritesh Harjani87e781b2017-09-28 13:52:43 +0530327# /data/vendor/tombstones/ file
328type vendor_tombstone_data_file, file_type, data_file_type;
Zhen Kongb5c2e622017-09-19 12:18:24 -0700329
330# SFS listener data file
Zhen Kong21e053d2017-10-11 12:02:29 -0700331type data_tzstorage_file, file_type, data_file_type;
Mao Jinlongf60140d2017-10-24 11:27:43 +0800332
333# poweron_alarm sysfs file
334type sysfs_poweron_alarm, fs_type, sysfs_type;
Mulu He27226292017-08-08 15:30:41 +0800335
336# ship mode sysfs file
337type sysfs_pon_dev, fs_type, sysfs_type;
338
Archana Sriram88493702017-12-06 17:16:58 +0530339#kgsl
340type kgsl_debugfs, debugfs_type, fs_type;
Clarence Wong703956a2018-01-17 19:55:38 -0800341
342#sysfs emmc dload type
343type sysfs_emmc_dload, sysfs_type, fs_type;