5895ffe1f7
Add wakelock_use to slideshow.te to fix the following denial: avc: denied { block_suspend } for pid=137 comm="slideshow" capability=36 scontext=u:r:slideshow:s0 tcontext=u:r:slideshow:s0 tclass=capability2 permissive=0 Change-Id: If84f167cd235e8196eadf3fb85cc725a5ea464e6
14 lines
529 B
Text
14 lines
529 B
Text
# slideshow seclabel is specified in init.rc since
|
|
# it lives in the rootfs and has no unique file type.
|
|
type slideshow, domain;
|
|
|
|
write_klog(slideshow)
|
|
wakelock_use(slideshow)
|
|
allow slideshow device:dir r_dir_perms;
|
|
allow slideshow self:capability { mknod 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;
|
|
|