bootanim.te 485 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
# bootanimation oneshot service
type bootanim, domain;
type bootanim_exec, exec_type, file_type;

init_daemon_domain(bootanim)

binder_use(bootanim)
binder_call(bootanim, surfaceflinger)

allow bootanim gpu_device:chr_file rw_file_perms;
11 12 13

# /oem access
allow bootanim oemfs:dir search;
14
allow bootanim oemfs:file r_file_perms;
15

16 17
allow bootanim audio_device:dir r_dir_perms;
allow bootanim audio_device:chr_file rw_file_perms;
18

19
allow bootanim surfaceflinger_service:service_manager find;