From 289ff0620d66f18c8f6d6bea2a856c82ad2a172e Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sun, 7 May 2023 00:45:07 +0300 Subject: [PATCH] sepolicy: bengal: Label emmc discard_max_bytes sysfs Change-Id: I358bf7ccf29dadcac53e646d51c7c9a476f5d023 Signed-off-by: chrisl7 --- sepolicy/qva/vendor/bengal/genfs_contexts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sepolicy/qva/vendor/bengal/genfs_contexts b/sepolicy/qva/vendor/bengal/genfs_contexts index d6ba906b..d2bdba00 100644 --- a/sepolicy/qva/vendor/bengal/genfs_contexts +++ b/sepolicy/qva/vendor/bengal/genfs_contexts @@ -34,3 +34,6 @@ genfscon sysfs /devices/platform/soc/4804000.ufshc/host0/target0:0:0/0:0:0:4/blo # Extcon genfscon sysfs /devices/platform/soc/1c40000.qcom,spmi/spmi-0/spmi0-02/1c40000.qcom,spmi:qcom,pmi632@2:qcom,qpnp-smb5/extcon u:object_r:sysfs_extcon:s0 + +# EMMC +genfscon sysfs /devices/platform/soc/4744000.sdhci/mmc_host/mmc0/mmc0:0001/block/mmcblk0/queue/discard_max_bytes u:object_r:vendor_sysfs_mmc_host:s0