summaryrefslogtreecommitdiff
path: root/sepolicy
diff options
context:
space:
mode:
authornailyk-fr <jenkins@nailyk.fr>2017-09-30 15:43:58 +0200
committerArian <arian.kulmer@web.de>2019-10-07 11:07:17 +0200
commit7141beb406f58c876929c161332f697f25d6cf6c (patch)
tree02ca6fecbe46f6a47f4ad7338a825adee7e98f14 /sepolicy
parent6f6ee97b18447ed483cc5f0343928cb77c5c529d (diff)
shinano-common: sepolicy: Remove ioctl refs
* A new way exist for ioctl management. Remove all old refs. Change-Id: I52f9c0e8f115ea26e22a93566c24cbd8a7b3a58f
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/mlog_qmi.te1
-rw-r--r--sepolicy/uim.te2
2 files changed, 1 insertions, 2 deletions
diff --git a/sepolicy/mlog_qmi.te b/sepolicy/mlog_qmi.te
index 76f6841..36975bb 100644
--- a/sepolicy/mlog_qmi.te
+++ b/sepolicy/mlog_qmi.te
@@ -5,7 +5,6 @@ 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;
# Access to /dev/smem_log
allow mlog_qmi smem_log_device:chr_file rw_file_perms;
diff --git a/sepolicy/uim.te b/sepolicy/uim.te
index 1a38892..97ce954 100644
--- a/sepolicy/uim.te
+++ b/sepolicy/uim.te
@@ -5,7 +5,7 @@ rw_dir_file(uim, brcm_ldisc_sysfs)
rw_dir_file(uim, bluetooth_data_file)
rw_dir_file(uim, sysfs_bluetooth_writable)
allow uim brcm_uim_exec:file { entrypoint getattr read execute };
-allow uim hci_attach_dev:chr_file { read write ioctl open };
+allow uim hci_attach_dev:chr_file { read write open };
allow uim self:capability { net_admin dac_override };
allow uim rootfs:lnk_file getattr;
allow uim ta_data_file:dir search;