74087b8bb9
Surely this is not perfect for gts3l boards Signed-off-by: Deokgyu Yang <secugyu@gmail.com> Change-Id: Ibdf84561980b6223be485579d330d9d8b3cdafb7
18 lines
604 B
Text
18 lines
604 B
Text
type readmac, domain;
|
|
type readmac_exec, exec_type, vendor_file_type, file_type;
|
|
|
|
# Allow for transition from init domain to readmac
|
|
init_daemon_domain(readmac)
|
|
|
|
# Allow readmac to communicate with qmuxd via qmux_radio socket
|
|
qmux_socket(readmac)
|
|
|
|
# Allow readmac to fully access wlan_mac.bin persist file
|
|
allow readmac mnt_vendor_file:dir rw_dir_perms;
|
|
allow readmac mnt_vendor_file:file create_file_perms;
|
|
|
|
allow readmac self:socket create_socket_perms;
|
|
allowxperm readmac self:socket ioctl msm_sock_ipc_ioctls;
|
|
|
|
allow readmac diag_device:chr_file rw_file_perms;
|
|
allow readmac sysfs:file r_file_perms;
|