From 91f2de25173f7f8bac2d6cfc685940e5005982ec Mon Sep 17 00:00:00 2001 From: Jackeagle Date: Tue, 22 Aug 2023 04:49:57 -0400 Subject: [PATCH] GS290: sepolicy: Address some denials Signed-off-by: Jackeagle --- sepolicy/vendor/hal_wifi_default.te | 5 +++++ sepolicy/vendor/mtk_hal_wifi.te | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 sepolicy/vendor/mtk_hal_wifi.te diff --git a/sepolicy/vendor/hal_wifi_default.te b/sepolicy/vendor/hal_wifi_default.te index bf6aab9..b0f586c 100644 --- a/sepolicy/vendor/hal_wifi_default.te +++ b/sepolicy/vendor/hal_wifi_default.te @@ -1 +1,6 @@ +# Get hotspot prop +get_prop(hal_wifi_default, vendor_mtk_wifi_hotspot_prop) + +# Set and get wlan_fw_prop (vendor.wlan.) +get_prop(hal_wifi_default, vendor_wlan_fw_prop) set_prop(hal_wifi_default, vendor_wlan_fw_prop) diff --git a/sepolicy/vendor/mtk_hal_wifi.te b/sepolicy/vendor/mtk_hal_wifi.te new file mode 100644 index 0000000..8abb71b --- /dev/null +++ b/sepolicy/vendor/mtk_hal_wifi.te @@ -0,0 +1,2 @@ +get_prop(mtk_hal_wifi, vendor_mtk_wifi_hal_prop) +set_prop(mtk_hal_wifi, vendor_mtk_wifi_hal_prop) -- GitLab