blob: 2d7db0e21fcdb7a3c53fce53d630ba6ac96db66a [file] [log] [blame]
Mohan Pallaka58636a92014-11-14 14:41:22 -08001# Policies for hbtp (host based touch processing)
2type hbtp, domain;
3type hbtp_exec, exec_type, file_type;
4
5init_daemon_domain(hbtp)
6
7# Allow access for /dev/hbtp_input and /dev/jdi-bu21150
8allow hbtp hbtp_device:chr_file rw_file_perms;
9allow hbtp bu21150_device:chr_file rw_file_perms;
10
Mohan Pallakab4053ef2014-11-25 14:01:29 -080011allow hbtp hbtp_cfg_file:dir rw_dir_perms;
12allow hbtp hbtp_cfg_file:file create_file_perms;
13
14allow hbtp hbtp_log_file:dir rw_dir_perms;
15allow hbtp hbtp_log_file:file create_file_perms;
16
17allow hbtp self:netlink_kobject_uevent_socket { create read setopt bind };
18
19binder_use(hbtp);