From b07ea4d7aec6c0b070d7de9532a799bb86852f4d Mon Sep 17 00:00:00 2001 From: SGCMarkus Date: Thu, 11 Aug 2022 20:53:48 +0200 Subject: [PATCH] sm7325-common: sepolicy: allow init.oem.hw to log into kmsg Change-Id: Ib7c73cd1ff18b800c791c322e4960dd94b9bc702 --- sepolicy/vendor/vendor_init_hw.te | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sepolicy/vendor/vendor_init_hw.te b/sepolicy/vendor/vendor_init_hw.te index d8c99ef..c0af646 100644 --- a/sepolicy/vendor/vendor_init_hw.te +++ b/sepolicy/vendor/vendor_init_hw.te @@ -14,4 +14,6 @@ allow vendor_init_hw vendor_toolbox_exec:file rx_file_perms; set_prop(vendor_init_hw, vendor_mot_hw_prop) set_prop(vendor_init_hw, vendor_mot_touch_prop) -allow vendor_init_hw vendor_file:file execute_no_trans; \ No newline at end of file +allow vendor_init_hw vendor_file:file execute_no_trans; + +allow vendor_init_hw kmsg_device:chr_file rw_file_perms;