summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPraneeth Bajjuri <praneeth@ti.com>2017-08-27 22:57:29 -0500
committerPraneeth Bajjuri <praneeth@ti.com>2017-08-27 22:57:29 -0500
commit4041abb636f9980fb3bcc1a5dc1f9ecfa7cc3dbf (patch)
tree16abfd5e57e5c4668805299481d819aa6caa58a5
parentfbae0bc5cf55a9ff9c1adac5a190035cce205b41 (diff)
downloadam57xevm-4041abb636f9980fb3bcc1a5dc1f9ecfa7cc3dbf.tar.gz
am57xevm: sepolicy: update rules failing build
Change-Id: I8730497fb9b08b7b26c4c69477cc75f64bc6cf9e Signed-off-by: Vishal Mahaveer <vishalm@ti.com> Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
-rw-r--r--sepolicy/file_contexts6
-rw-r--r--sepolicy/ueventd.te2
2 files changed, 4 insertions, 4 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 900afe8..603afcb 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -1,7 +1,7 @@
#Bluettoth tty device
-/dev/hci_tty u:object_r:bluetooth_control:s0
-/dev/ttyS2 u:object_r:hci_attach_dev:s0
-/system/bin/uim-sysfs u:object_r:hci_attach_exec:s0
+#/dev/hci_tty u:object_r:bluetooth_control:s0
+#/dev/ttyS2 u:object_r:hci_attach_dev:s0
+#/system/bin/uim-sysfs u:object_r:hci_attach_exec:s0
#Console
/dev/ttyS0 u:object_r:console_device:s0
diff --git a/sepolicy/ueventd.te b/sepolicy/ueventd.te
index 690cf1e..2f54d8e 100644
--- a/sepolicy/ueventd.te
+++ b/sepolicy/ueventd.te
@@ -1,3 +1,3 @@
#Rules for crda operations
-allow ueventd self:netlink_generic_socket { create_socket_perms };
+allow ueventd self:netlink_generic_socket { create_socket_perms_no_ioctl };
allow ueventd system_file:file { execute_no_trans };