74087b8bb9
Surely this is not perfect for gts3l boards Signed-off-by: Deokgyu Yang <secugyu@gmail.com> Change-Id: Ibdf84561980b6223be485579d330d9d8b3cdafb7
16 lines
536 B
Text
16 lines
536 B
Text
type init_tfa, domain;
|
|
type init_tfa_exec, exec_type, vendor_file_type, file_type;
|
|
|
|
# Allow for transition from init domain to init_tfa
|
|
init_daemon_domain(init_tfa)
|
|
|
|
# Allow read and write to sound card device
|
|
allow init_tfa audio_device:chr_file rw_file_perms;
|
|
allow init_tfa audio_device:dir search;
|
|
|
|
# Allow executing tinyplay
|
|
allow init_tfa system_file:file execute_no_trans;
|
|
|
|
# Shell script needs to execute /vendor/bin/sh
|
|
allow init_tfa vendor_shell_exec:file rx_file_perms;
|
|
allow init_tfa vendor_toolbox_exec:file rx_file_perms;
|