summaryrefslogtreecommitdiff
path: root/prebuilts/api/32.0/public/slideshow.te
diff options
context:
space:
mode:
Diffstat (limited to 'prebuilts/api/32.0/public/slideshow.te')
-rw-r--r--prebuilts/api/32.0/public/slideshow.te14
1 files changed, 14 insertions, 0 deletions
diff --git a/prebuilts/api/32.0/public/slideshow.te b/prebuilts/api/32.0/public/slideshow.te
new file mode 100644
index 000000000..10fbbb852
--- /dev/null
+++ b/prebuilts/api/32.0/public/slideshow.te
@@ -0,0 +1,14 @@
+# slideshow seclabel is specified in init.rc since
+# it lives in the rootfs and has no unique file type.
+type slideshow, domain;
+
+allow slideshow kmsg_device:chr_file rw_file_perms;
+wakelock_use(slideshow)
+allow slideshow device:dir r_dir_perms;
+allow slideshow self:global_capability_class_set sys_tty_config;
+allow slideshow graphics_device:dir r_dir_perms;
+allow slideshow graphics_device:chr_file rw_file_perms;
+allow slideshow input_device:dir r_dir_perms;
+allow slideshow input_device:chr_file r_file_perms;
+allow slideshow tty_device:chr_file rw_file_perms;
+