aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/uim.te
diff options
context:
space:
mode:
authorAlexander Diewald <Diewi@diewald-net.com>2017-10-08 19:35:45 +0200
committerArian <arian.kulmer@web.de>2019-10-07 11:07:17 +0200
commitad0bc3c46f222f9f3a76f94136fb73e165368d83 (patch)
treec7a1214ddde47891b072569dfbba69b7185625e8 /sepolicy/uim.te
parent9e3d5f035f58e667adbfaf612fc208457c00b6d3 (diff)
SEPolicy: Add ioctl whitelist for UIM.
Adds a list of ioctls, which are emitted by the UIM service. This service setups the broadcom BT/FM driver. Change-Id: Ib37674796a5e2d677a4bb3f596110f906f290b74 Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
Diffstat (limited to 'sepolicy/uim.te')
-rw-r--r--sepolicy/uim.te2
1 files changed, 2 insertions, 0 deletions
diff --git a/sepolicy/uim.te b/sepolicy/uim.te
index c452704..11b7fbf 100644
--- a/sepolicy/uim.te
+++ b/sepolicy/uim.te
@@ -12,3 +12,5 @@ allow uim ta_data_file:dir search;
allow uim bluetooth_prop:sock_file write;
allow uim ta_data_file:file r_file_perms;
allow uim hci_attach_dev:chr_file ioctl;
+
+allowxperm uim hci_attach_dev:chr_file ioctl uim_sock_ipc_ioctls;