platform_system_sepolicy/bootanim.te
Mike Lockwood 0a52df5020 Give bootanimation access to /dev/snd files so it can use tinyalsa
Bug: 17674304

Change-Id: Ide32833809bca8d3ed8ddc898748e25d7a692319
2014-10-02 16:26:59 -07:00

17 lines
424 B
Text

# 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;
# /oem access
allow bootanim oemfs:dir search;
allow bootanim oemfs:file r_file_perms;
allow bootanim audio_device:dir r_dir_perms;
allow bootanim audio_device:chr_file rw_file_perms;