1# /vendor/bin/ese_load init called shell script.
2type init_ese, domain;
3type init_ese_exec, exec_type, vendor_file_type, file_type;
4
5init_daemon_domain(init_ese)
6
7# Shell script exec (toolbox)
8allow init_ese vendor_shell_exec:file r_file_perms;
9allow init_ese vendor_toolbox_exec:file rx_file_perms;
10
11# eSE tools
12allow init_ese esed_exec:file rx_file_perms;
13
14# eSE device and data dirs
15allow init_ese pn81a_device:chr_file rw_file_perms;
16allow init_ese ese_vendor_data_file:dir create_dir_perms;
17allow init_ese ese_vendor_data_file:file create_file_perms;
18
19allow init_ese vendor_file:file execute_no_trans;
20