74087b8bb9
Surely this is not perfect for gts3l boards Signed-off-by: Deokgyu Yang <secugyu@gmail.com> Change-Id: Ibdf84561980b6223be485579d330d9d8b3cdafb7
15 lines
489 B
Text
15 lines
489 B
Text
type init_panel, domain;
|
|
type init_panel_exec, exec_type, vendor_file_type, file_type;
|
|
|
|
# Allow for transition from init domain to init_panel
|
|
init_daemon_domain(init_panel)
|
|
|
|
# Allow to read panel color and vendor sysfs
|
|
allow init_panel sysfs_panel:file r_file_perms;
|
|
|
|
# Shell script needs to execute /vendor/bin/sh
|
|
allow init_panel vendor_shell_exec:file rx_file_perms;
|
|
allow init_panel vendor_toolbox_exec:file rx_file_perms;
|
|
|
|
# Set panel property
|
|
set_prop(init_panel, system_panel_prop)
|