From b9e311acb19f4bfda8c5bcff0fadbeafb6389c65 Mon Sep 17 00:00:00 2001 From: Leo Chang Date: Thu, 3 Sep 2015 22:36:31 -0700 Subject: qcacld: selinux allow write sysfs from cnss daemon cnss daemon should update rps cpu map sysfs node to enable rps feature. Add write policy to sysfs by cnss service daemon. Change-Id: I25172561fc594f815f6322e31ef8376253ee87b5 CRs-fixed: 902775 --- common/wcnss_service.te | 1 + 1 file changed, 1 insertion(+) (limited to 'common/wcnss_service.te') diff --git a/common/wcnss_service.te b/common/wcnss_service.te index 9955fa7f..62c31c4d 100644 --- a/common/wcnss_service.te +++ b/common/wcnss_service.te @@ -32,6 +32,7 @@ allow wcnss_service self:capability { allow wcnss_service self:netlink_socket create_socket_perms; allow wcnss_service firmware_file:dir r_dir_perms; allow wcnss_service firmware_file:file r_file_perms; +allow wcnss_service sysfs:file w_file_perms; userdebug_or_eng(` allow wcnss_service fuse:dir create_dir_perms; -- cgit v1.2.3