summaryrefslogtreecommitdiff
path: root/sepolicy
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/mlog_qmi.te4
1 files changed, 3 insertions, 1 deletions
diff --git a/sepolicy/mlog_qmi.te b/sepolicy/mlog_qmi.te
index d41a788..e8f84d1 100644
--- a/sepolicy/mlog_qmi.te
+++ b/sepolicy/mlog_qmi.te
@@ -5,7 +5,9 @@ type mlog_qmi_exec, exec_type, file_type;
init_daemon_domain(mlog_qmi)
allow mlog_qmi self:capability { net_raw net_bind_service };
-allow mlog_qmi self:socket create_socket_perms_no_ioctl;
+allow mlog_qmi self:socket create_socket_perms;
+# NOTE: using self:socket for the ioctl results in a denial
+allowxperm mlog_qmi mlog_qmi:socket ioctl mlog_qmi_ioctls;
# Access to /dev/smem_log
allow mlog_qmi smem_log_device:chr_file rw_file_perms;