summaryrefslogtreecommitdiffstats
path: root/common/location.te
diff options
context:
space:
mode:
authorBiswajit Paul <biswajitpaul@codeaurora.org>2016-07-06 17:35:41 -0700
committerBiswajit Paul <biswajitpaul@codeaurora.org>2016-07-06 17:37:56 -0700
commitc6024d2d41537c2efc7f44d1ee4472bf0cc62bb4 (patch)
treeeed9fcd6c15887b1f772162286b1a0f6cb5758ac /common/location.te
parent382ae51f77ff34f1a16bbb94956d2342cb066dc5 (diff)
downloadandroid_device_qcom_sepolicy-c6024d2d41537c2efc7f44d1ee4472bf0cc62bb4.tar.gz
android_device_qcom_sepolicy-c6024d2d41537c2efc7f44d1ee4472bf0cc62bb4.tar.bz2
android_device_qcom_sepolicy-c6024d2d41537c2efc7f44d1ee4472bf0cc62bb4.zip
Update sepolicies with netlink_generic_socket
Add allow rules for newly added netlink_generic_socket class. These are required for v4.4 kernel. Change-Id: I417ba08366bbc341ba36df775c7cb0e36723ea39 CRs-Fixed: 1032952
Diffstat (limited to 'common/location.te')
-rw-r--r--common/location.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/location.te b/common/location.te
index 35e9a1a0..2cefa451 100644
--- a/common/location.te
+++ b/common/location.te
@@ -22,6 +22,7 @@ allow location self:capability { setuid setgid net_admin net_raw };
allow location self:{
socket
netlink_socket
+ netlink_generic_socket
} create_socket_perms;
unix_socket_connect(location, sensors, sensors)