diff options
author | Bart Van Assche <bvanassche@google.com> | 2021-10-08 09:06:53 -0700 |
---|---|---|
committer | Bart Van Assche <bvanassche@google.com> | 2021-10-08 09:50:19 -0700 |
commit | b4552fe5beb4b867b76a91b28e082eec42f9c069 (patch) | |
tree | 3d103e07cd77b205a7a139967b69d3077f5e5fad | |
parent | ef32dde3c047f27294d1960be81b0eabf2ed57d1 (diff) | |
download | bonito-sepolicy-b4552fe5beb4b867b76a91b28e082eec42f9c069.tar.gz |
Remove the bdev_type and sysfs_block_type SELinux attributes
Bug: 202520796
Test: Untested.
Change-Id: I51e9d384a16b10db19b0e3138560eac96e4be70a
Signed-off-by: Bart Van Assche <bvanassche@google.com>
-rw-r--r-- | vendor/qcom/common/device.te | 16 | ||||
-rw-r--r-- | vendor/qcom/common/file.te | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/vendor/qcom/common/device.te b/vendor/qcom/common/device.te index b1fa00cd..11ec49bb 100644 --- a/vendor/qcom/common/device.te +++ b/vendor/qcom/common/device.te @@ -1,15 +1,15 @@ -type ab_block_device, dev_type, bdev_type; +type ab_block_device, dev_type; type at_device, dev_type; type avtimer_device, dev_type; type bt_device, dev_type; -type devinfo_block_device, dev_type, bdev_type; +type devinfo_block_device, dev_type; type diag_device, dev_type, mlstrustedobject; type dsp_device, dev_type; type easel_device, dev_type, mlstrustedobject; -type gpt_block_device, dev_type, bdev_type; +type gpt_block_device, dev_type; type ipa_dev, dev_type; -type modem_block_device, dev_type, bdev_type; -type persist_block_device, dev_type, bdev_type; +type modem_block_device, dev_type; +type persist_block_device, dev_type; type qce_device, dev_type; type qsee_ipc_irq_spss_device, dev_type; type qdsp_device, dev_type, mlstrustedobject; @@ -19,10 +19,10 @@ type seemplog_device, dev_type; type sg_device, dev_type; type smd_device, dev_type; type spcom_device, dev_type; -type ssd_block_device, dev_type, bdev_type; +type ssd_block_device, dev_type; type ssr_device, dev_type; type wlan_device, dev_type; -type xbl_block_device, dev_type, bdev_type; +type xbl_block_device, dev_type; # TODO: Replace KM3 with KM4 (b/112339903) -type rpmb_device, dev_type, bdev_type; +type rpmb_device, dev_type; diff --git a/vendor/qcom/common/file.te b/vendor/qcom/common/file.te index e4435d17..5ca58bab 100644 --- a/vendor/qcom/common/file.te +++ b/vendor/qcom/common/file.te @@ -13,7 +13,7 @@ type sysfs_msm_wlan, sysfs_type, fs_type; type sysfs_poweroff, sysfs_type, fs_type; type sysfs_rmtfs, sysfs_type, fs_type; type sysfs_soc, sysfs_type, fs_type; -type sysfs_scsi_devices_0000, sysfs_type, fs_type, sysfs_block_type; +type sysfs_scsi_devices_0000, sysfs_type, fs_type; type sysfs_scsi_devices_other, sysfs_type, fs_type; type sysfs_mmc, sysfs_type, fs_type; type sysfs_system_sleep_stats, sysfs_type, fs_type; |