summaryrefslogtreecommitdiff
path: root/thermal
diff options
context:
space:
mode:
authorTeYuan Wang <kamewang@google.com>2022-01-24 21:57:24 +0800
committerKame(TeYuan) Wang <kamewang@google.com>2022-01-25 03:58:21 +0000
commitddafbfb8acff9a1c79f223ce7eda6bc94a35afe0 (patch)
treebc26d3e7b4f16dee54e574dfdcd48cc6ca90d187 /thermal
parent34310a0e75eaa3c0fd8abf00a557a7e236d7b27c (diff)
downloadpixel-sepolicy-ddafbfb8acff9a1c79f223ce7eda6bc94a35afe0.tar.gz
Move netlink socket sepolicy rules to pixel sepolicy
Bug: 205904328 Bug: 213257759 Test: verified genlink function with emul_temp under enforcing mode Change-Id: I127fae1372ae442345aa7f45a820d28239a54fe5
Diffstat (limited to 'thermal')
-rw-r--r--thermal/hal_thermal_default.te2
1 files changed, 1 insertions, 1 deletions
diff --git a/thermal/hal_thermal_default.te b/thermal/hal_thermal_default.te
index 5d8af91..2498b20 100644
--- a/thermal/hal_thermal_default.te
+++ b/thermal/hal_thermal_default.te
@@ -3,7 +3,7 @@ allow hal_thermal_default sysfs_thermal:file rw_file_perms;
allow hal_thermal_default sysfs_thermal:lnk_file r_file_perms;
allow hal_thermal_default thermal_link_device:dir r_dir_perms;
allow hal_thermal_default proc_stat:file r_file_perms;
-
+allow hal_thermal_default self:netlink_generic_socket create_socket_perms_no_ioctl;
allow hal_thermal_default self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
hal_client_domain(hal_thermal_default, hal_power);