1# Data
2type chre_data_file, file_type, data_file_type;
3type rild_vendor_data_file, file_type, data_file_type;
4type vendor_log_file, file_type, data_file_type;
5type vendor_rfsd_log_file, file_type, data_file_type;
6type modem_stat_data_file, file_type, data_file_type;
7type vendor_slog_file, file_type, data_file_type;
8type updated_wifi_firmware_data_file, file_type, data_file_type;
9type vendor_misc_data_file, file_type, data_file_type;
10type per_boot_file, file_type, data_file_type, core_data_file_type;
11type uwb_data_vendor, file_type, data_file_type;
12type powerstats_vendor_data_file, file_type, data_file_type;
13type vendor_gps_file, file_type, data_file_type;
14userdebug_or_eng(`
15  typeattribute vendor_gps_file mlstrustedobject;
16  typeattribute vendor_slog_file mlstrustedobject;
17')
18
19# Exynos Firmware
20type vendor_fw_file, vendor_file_type, file_type;
21
22# Trusty
23type sysfs_trusty, sysfs_type, fs_type;
24
25# EM Profile
26type sysfs_em_profile, sysfs_type, fs_type;
27
28# sysfs
29type sysfs_chosen, sysfs_type, fs_type;
30type bootdevice_sysdev, dev_type;
31type sysfs_fabric, sysfs_type, fs_type;
32type sysfs_acpm_stats, sysfs_type, fs_type;
33type sysfs_wifi, sysfs_type, fs_type;
34type sysfs_exynos_pcie_stats, sysfs_type, fs_type;
35type sysfs_bcmdhd, sysfs_type, fs_type;
36type sysfs_chargelevel, sysfs_type, fs_type;
37type sysfs_camera, sysfs_type, fs_type;
38type sysfs_write_leds, sysfs_type, fs_type;
39type sysfs_pca, sysfs_type, fs_type;
40type sysfs_ptracker, sysfs_type, fs_type;
41# debugfs
42type vendor_maxfg_debugfs, fs_type, debugfs_type;
43type vendor_pm_genpd_debugfs, fs_type, debugfs_type;
44type vendor_regmap_debugfs, fs_type, debugfs_type;
45type vendor_usb_debugfs, fs_type, debugfs_type;
46type vendor_charger_debugfs, fs_type, debugfs_type;
47type vendor_votable_debugfs, fs_type, debugfs_type;
48type vendor_battery_debugfs, fs_type, debugfs_type;
49
50# vendor extra images
51type modem_img_file, contextmount_type, file_type, vendor_file_type;
52allow modem_img_file self:filesystem associate;
53
54# persist
55type persist_battery_file, file_type, vendor_persist_type;
56type persist_camera_file, file_type, vendor_persist_type;
57type persist_modem_file, file_type, vendor_persist_type;
58type persist_ss_file, file_type, vendor_persist_type;
59type persist_uwb_file, file_type, vendor_persist_type;
60type persist_display_file, file_type, vendor_persist_type;
61
62# CHRE
63type chre_socket, file_type;
64
65# Storage Health HAL
66type proc_f2fs, proc_type, fs_type;
67
68# Vendor tools
69type vendor_dumpsys, vendor_file_type, file_type;
70
71# Modem
72type modem_efs_file, file_type;
73type modem_userdata_file, file_type;
74type sysfs_modem, sysfs_type, fs_type;
75
76# SecureElement
77type sysfs_st33spi, sysfs_type, fs_type;
78typeattribute sysfs_st33spi mlstrustedobject;
79
80# Vendor sched files
81userdebug_or_eng(`
82    typeattribute proc_vendor_sched mlstrustedobject;
83')
84
85# SJTAG
86type sysfs_sjtag, fs_type, sysfs_type;
87userdebug_or_eng(`
88    typeattribute sysfs_sjtag mlstrustedobject;
89')
90
91# USB-C throttling stats
92type sysfs_usbc_throttling_stats, sysfs_type, fs_type;
93
94# WLC
95type sysfs_wlc, sysfs_type, fs_type;
96