diff --git a/sepolicy/file.te b/sepolicy/file.te index 3948bb2..069f044 100644 --- a/sepolicy/file.te +++ b/sepolicy/file.te @@ -1,6 +1,5 @@ type app_efs_file, file_type; type biometrics_data_file, file_type, data_file_type; -type debugfs_rmt, debugfs_type, fs_type; type wifi_efs_file, file_type; type sysfs_mdnie, fs_type, sysfs_type; type sysfs_sec_key, fs_type, sysfs_type; diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index bb48f4e..a954694 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -5,9 +5,6 @@ # Cache /dev/block/platform/soc\.0/7824900\.sdhci/by-name/cache u:object_r:cache_block_device:s0 -# Debug -/sys/kernel/debug/rmt_storage(/.*)? u:object_r:debugfs_rmt:s0 - # EFS /dev/block/platform/soc\.0/7824900\.sdhci/by-name/efs u:object_r:efs_block_device:s0 /efs/bluetooth(/.*)? u:object_r:bluetooth_efs_file:s0 diff --git a/sepolicy/rmt_storage.te b/sepolicy/rmt_storage.te index 6bb28f0..2fc2dac 100644 --- a/sepolicy/rmt_storage.te +++ b/sepolicy/rmt_storage.te @@ -1,6 +1,3 @@ -allow rmt_storage debugfs_rmt:dir search; -allow rmt_storage debugfs_rmt:file rw_file_perms; - allow rmt_storage self:capability net_raw; set_prop(rmt_storage, rmt_storage_prop)