From d52d3b7ff732e4bd77ecf4670f8a57db10ec9c92 Mon Sep 17 00:00:00 2001 From: EcrosoftXiao Date: Sat, 9 Apr 2022 01:50:43 +0800 Subject: [PATCH] sm8350-common: sepolicy: Allow hal_fingerprint_default to creat netlink_socket Change-Id: Icb8b0619ebee908c241e90c76439895c7026adec --- sepolicy/vendor/hal_fingerprint_default.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sepolicy/vendor/hal_fingerprint_default.te b/sepolicy/vendor/hal_fingerprint_default.te index 2bbbb54..7a8a3fe 100644 --- a/sepolicy/vendor/hal_fingerprint_default.te +++ b/sepolicy/vendor/hal_fingerprint_default.te @@ -10,6 +10,9 @@ allow hal_fingerprint_default vendor_hal_fingerprint_hwservice_xiaomi:hwservice_ allow hal_fingerprint_default vendor_hal_perf_default:binder call; allow hal_fingerprint_default vendor_hal_perf_hwservice:hwservice_manager find; +# Netlink_socket +allow hal_fingerprint_default self:netlink_socket create_socket_perms_no_ioctl; + # Props set_prop(hal_fingerprint_default, vendor_fp_prop) set_prop(hal_fingerprint_default, vendor_fp_info_prop)