Stephen Smalley | acde43f | 2013-12-11 15:17:53 -0500 | [diff] [blame] | 1 | # bootanimation oneshot service |
| 2 | type bootanim, domain; |
Stephen Smalley | acde43f | 2013-12-11 15:17:53 -0500 | [diff] [blame] | 3 | type bootanim_exec, exec_type, file_type; |
| 4 | |
| 5 | init_daemon_domain(bootanim) |
| 6 | |
| 7 | binder_use(bootanim) |
| 8 | binder_call(bootanim, surfaceflinger) |
| 9 | |
| 10 | allow bootanim gpu_device:chr_file rw_file_perms; |
Ed Heyl | 81839df | 2014-07-14 23:31:31 -0700 | [diff] [blame] | 11 | |
| 12 | # /oem access |
| 13 | allow bootanim oemfs:dir search; |
Vineeta Srivastava | b4fcaee | 2014-09-22 13:03:52 -0700 | [diff] [blame] | 14 | allow bootanim oemfs:file r_file_perms; |
Nick Kralevich | d065f04 | 2014-07-25 15:19:47 -0700 | [diff] [blame] | 15 | |
Mike Lockwood | 0a52df5 | 2014-09-29 06:18:19 -0700 | [diff] [blame] | 16 | allow bootanim audio_device:dir r_dir_perms; |
| 17 | allow bootanim audio_device:chr_file rw_file_perms; |
Mike Lockwood | 2043a28 | 2014-10-06 11:56:31 -0700 | [diff] [blame] | 18 | |
dcashman | cd82557 | 2014-12-11 16:01:27 -0800 | [diff] [blame] | 19 | allow bootanim surfaceflinger_service:service_manager find; |