summaryrefslogtreecommitdiff
path: root/sepolicy
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/mlog_qmi.te6
1 files changed, 5 insertions, 1 deletions
diff --git a/sepolicy/mlog_qmi.te b/sepolicy/mlog_qmi.te
index d0332e3..d41a788 100644
--- a/sepolicy/mlog_qmi.te
+++ b/sepolicy/mlog_qmi.te
@@ -5,7 +5,11 @@ 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 read;
+allow mlog_qmi self:socket create_socket_perms_no_ioctl;
# Access to /dev/smem_log
allow mlog_qmi smem_log_device:chr_file rw_file_perms;
+
+# qseecom
+allow mlog_qmi tee_device:chr_file rw_file_perms;
+allowxperm mlog_qmi tee_device:chr_file ioctl qseecom_sock_ipc_ioctls;