Revert "sepolicy: msmsteppe: label UFS sysfs node"

- This reverts commit e4163edba7 as it is incorrect.
- It causes sideload to fail with kPostinstallRunnerError on a msmsteppe device.
- UFS sysfs nodes are labeled properly in sepolicy_vndr as vendor_sysfs_scsi_target and should be left as is.
- Labeling it incorrectly in qcom/common essentially causes update_engine_sideload to get a SELinux denial;
- when trying to search the UFS sysfs nodes with vendor_sysfs_mmc_host.
- The correct fix is to revert this as it was not needed to begin with.

Test: Build, sideload and check whether kPostinstallRunnerError occurs.
Change-Id: Ic15740660f123eefce22515e5ddafb5959c1fb4d
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
This commit is contained in:
Cyber Knight 2024-01-25 04:26:55 +08:00
parent ad4dec3c58
commit e06f0fec39
No known key found for this signature in database
GPG Key ID: 23BD4CCD326E9D64
1 changed files with 0 additions and 3 deletions

View File

@ -154,6 +154,3 @@ genfscon sysfs /devices/platform/soc/18800000.qcom,icnss/net u:object_r:sysfs_ne
genfscon sysfs /devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-00/c440000.qcom,spmi:qcom,pm6150@0:qcom,usb-pdphy@1700/usbpd/usbpd0/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /sys/kernel/tracing/instances/usb/events/filemap/.* u:object_r:vendor_subsys_hvdcp:s0
# UFS
genfscon sysfs /devices/platform/soc/1d84000.ufshc/host0/target0:0:0/0:0:0: u:object_r:vendor_sysfs_mmc_host:s0