aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/file.te
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2019-03-03 16:39:11 +0100
committerDavide Garberi <dade.garberi@gmail.com>2019-03-03 13:56:06 +0100
commit96dcf9a4921e4c3d676b680252256dd7b6fc238f (patch)
tree7262b59844f0325d6c65fa1f6cabeab31088bfaf /sepolicy/file.te
parent871b3f0c0b1755d5b632db637f4ff402b9c417f2 (diff)
msm8996-common: sepolicy: Cleanup
* genfs_context cleanup after b5b41d341dd744c40d3908550daaafcee6fe7b4b in which it has randomly been imported from Marlin * Slightly cleanup indentation * Remove a lot of domains which were being used in genfs_context as most of it is already labelled differently in qcom common sepolicy and already addressed * Remove violators where not needed * Remove some old properties we're not using anymore Change-Id: Ic72853dfaf71ba3f0596e75d1bdd5b5c93cd70be
Diffstat (limited to 'sepolicy/file.te')
-rw-r--r--sepolicy/file.te36
1 files changed, 4 insertions, 32 deletions
diff --git a/sepolicy/file.te b/sepolicy/file.te
index 3fc793f..b33eadf 100644
--- a/sepolicy/file.te
+++ b/sepolicy/file.te
@@ -1,44 +1,16 @@
+# /data
type fpc_data_file, core_data_file_type, data_file_type, file_type;
type thermal_data_file, core_data_file_type, data_file_type, file_type;
+# debugfs
+type debugfs_rmt, debugfs_type, fs_type;
+
# /sys
-type sysfs_camera, sysfs_type, fs_type;
-type sysfs_enable_ps_sensor, sysfs_type, fs_type;
type sysfs_fingerprint, sysfs_type, fs_type;
-type sysfs_fpc_proximity, sysfs_type, fs_type;
-type sysfs_mdss_mdp_caps, sysfs_type, fs_type;
-type sysfs_msm_subsys, sysfs_type, fs_type;
-type sysfs_msm_subsys_restart, sysfs_type, fs_type;
-type sysfs_msm_core, sysfs_type, fs_type;
-type sysfs_perf, sysfs_type, fs_type;
type sysfs_pcie, sysfs_type, fs_type, mlstrustedobject;
-type sysfs_power_management, sysfs_type, fs_type;
-type sysfs_rmtfs, sysfs_type, fs_type;
-type sysfs_soc, sysfs_type, fs_type, mlstrustedobject;
-type sysfs_timestamp_switch, sysfs_type, fs_type;
-type sysfs_video, sysfs_type, fs_type;
type sysfs_wifi, sysfs_type, fs_type, mlstrustedobject;
type sysfs_scsi_devices_0000, sysfs_type, fs_type;
-# debugfs
-type debugfs_msm_core, debugfs_type, fs_type;
-type debugfs_rmt, debugfs_type, fs_type;
-type debugfs_wlan, debugfs_type, fs_type;
-type debugfs_kgsl, debugfs_type, fs_type;
-type debugfs_ipc, debugfs_type, fs_type;
-type debugfs_bufinfo, debugfs_type, fs_type;
-type debugfs_mdp, debugfs_type, fs_type;
-type debugfs_ion, debugfs_type, fs_type;
-type debugfs_qsee_log, debugfs_type, fs_type;
-type debugfs_usb, debugfs_type, fs_type;
-type debugfs_runtime_pm, debugfs_type, fs_type;
-type debugfs_cnss, debugfs_type, fs_type;
-type debugfs_ufs, debugfs_type, fs_type;
-
-# /proc
-type proc_kernel_sched, fs_type;
-type proc_irq, fs_type;
-
# /vendor
type idc_file, file_type, vendor_file_type;
type keylayout_file, file_type, vendor_file_type;