diff options
author | Leo Chang <leochang@codeaurora.org> | 2015-09-03 22:36:31 -0700 |
---|---|---|
committer | c_rrajiv <rrajiv@codeaurora.org> | 2015-09-25 11:17:39 +0530 |
commit | b9e311acb19f4bfda8c5bcff0fadbeafb6389c65 (patch) | |
tree | 0e30b16c8e748850321b7fe68198bf7cc85bdf66 /common/wcnss_service.te | |
parent | 10e17414d7c1f3d92a28b7e797be1ce2d9cc1f96 (diff) | |
download | android_device_qcom_sepolicy-b9e311acb19f4bfda8c5bcff0fadbeafb6389c65.tar.gz android_device_qcom_sepolicy-b9e311acb19f4bfda8c5bcff0fadbeafb6389c65.tar.bz2 android_device_qcom_sepolicy-b9e311acb19f4bfda8c5bcff0fadbeafb6389c65.zip |
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
Diffstat (limited to 'common/wcnss_service.te')
-rw-r--r-- | common/wcnss_service.te | 1 |
1 files changed, 1 insertions, 0 deletions
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; |