d22987b4da
Motivation: Domain is overly permissive. Start removing permissions from domain and assign them to the domain_deprecated attribute. Domain_deprecated and domain can initially be assigned to all domains. The goal is to not assign domain_deprecated to new domains and to start removing domain_deprecated where it is not required or reassigning the appropriate permissions to the inheriting domain when necessary. Bug: 25433265 Change-Id: I8b11cb137df7bdd382629c98d916a73fe276413c
14 lines
568 B
Text
14 lines
568 B
Text
# slideshow seclabel is specified in init.rc since
|
|
# it lives in the rootfs and has no unique file type.
|
|
type slideshow, domain, domain_deprecated;
|
|
|
|
allow slideshow kmsg_device:chr_file rw_file_perms;
|
|
wakelock_use(slideshow)
|
|
allow slideshow device:dir r_dir_perms;
|
|
allow slideshow self:capability 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;
|
|
|