From 2c7ad967d1c9be71a50a9c27e336e180c035e648 Mon Sep 17 00:00:00 2001 From: Davide Garberi Date: Thu, 2 May 2019 16:52:20 +0200 Subject: msm8996-common: sepolicy: Cleanup * Add back the fstab contexts to prevent some vfat denials * Remove a lot of not needed addresses * Create a domain for double tap to wake to not let the powerhal access all the sysfs files Change-Id: I44dfc5e9903eb562748215541f2d71f9a3d111d7 --- sepolicy/wcnss_service.te | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sepolicy/wcnss_service.te') diff --git a/sepolicy/wcnss_service.te b/sepolicy/wcnss_service.te index 340658d..35908ad 100644 --- a/sepolicy/wcnss_service.te +++ b/sepolicy/wcnss_service.te @@ -1,4 +1,2 @@ -allow wcnss_service sysfs_pcie:dir search; -allow wcnss_service sysfs_pcie:file rw_file_perms; -allow wcnss_service sysfs_wifi:dir search; -allow wcnss_service sysfs_wifi:file rw_file_perms; +allow wcnss_service { sysfs_pcie sysfs_wifi }:dir search; +allow wcnss_service { sysfs_pcie sysfs_wifi }:file rw_file_perms; -- cgit v1.2.3