summaryrefslogtreecommitdiff
path: root/sepolicy
diff options
context:
space:
mode:
authorJiabin <jiabin@google.com>2017-02-22 10:52:47 +0900
committerJiabin <jiabin@google.com>2017-02-23 09:59:33 +0900
commite0d9ee6ba435e3b9ced96bddf9ab213850dfcde5 (patch)
treed5770b73000a31dcb9d6108a185406939880cf77 /sepolicy
parent0ec15ec64e1b8f0bc48621a202e17b4c3ce7aafe (diff)
downloadatv-e0d9ee6ba435e3b9ced96bddf9ab213850dfcde5.tar.gz
Add access permission of dvb_device for priv_app and system_service.
Test: Manually verified with usb tuner devices and archer. Bug: 30375009 Change-Id: Ib2790b6f4e616ba1f7b969e0a40dc38c7a1bc57a
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/system_service.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/system_service.te b/sepolicy/system_service.te
index f6783d7..0d85c35 100644
--- a/sepolicy/system_service.te
+++ b/sepolicy/system_service.te
@@ -1,3 +1,4 @@
# Access devices.
allow system_server dvb_device:chr_file rw_file_perms;
+allow system_server dvb_device:dir { search read open };
allow system_server uhid_device:chr_file { write open ioctl };