summaryrefslogtreecommitdiff
path: root/non_plat/shell.te
blob: 9f2d309ebb601997fa559e82836eab9b8c06058f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# ==============================================
# MTK Policy Rule
# ==============================================

# Date : WK16.46
# Purpose : allow shell to switch aee mode
allow shell crash_dump:unix_stream_socket connectto;

# Date : WK17.35
# Purpose : allow shell to dump the debugging information of camera hal.
#allow shell hal_camera_hwservice:hwservice_manager { find };
binder_call(shell, mtk_hal_camera)

# Date : WK17.36
# Purpose : allow shell to dump the debugging information of power hal.
hal_client_domain(shell, hal_power)
allow shell aee_exp_vendor_file:dir r_dir_perms;
allow shell aee_exp_vendor_file:file r_file_perms;
allow shell aee_exp_data_file:dir r_dir_perms;
allow shell aee_exp_data_file:file r_file_perms;