From 7141beb406f58c876929c161332f697f25d6cf6c Mon Sep 17 00:00:00 2001 From: nailyk-fr Date: Sat, 30 Sep 2017 15:43:58 +0200 Subject: shinano-common: sepolicy: Remove ioctl refs * A new way exist for ioctl management. Remove all old refs. Change-Id: I52f9c0e8f115ea26e22a93566c24cbd8a7b3a58f --- sepolicy/mlog_qmi.te | 1 - sepolicy/uim.te | 2 +- 2 files changed, 1 insertion(+), 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; -- cgit v1.2.3