blob: 2c84e7c9f6e5b70a628fb94a61ac9baa8d0be3ac [file] [log] [blame]
Kai Hsieh1f83bb12024-09-21 13:38:00 +08001# SEPolicies for GIA (Google Input interface Abstraction layer)
2type gia, domain;
3type gia_exec, exec_type, vendor_file_type, file_type;
4
5# Macro transferring gia_exec to the gia domain
6init_daemon_domain(gia)
7
8# let this domain use the hal service
9hal_client_domain(gia, hal_gia)
10# allow binder communication with service_manager
11binder_use(gia)
12
13# let this domain serve the hal service
14hal_server_domain(gia, hal_gia)
15
16# allow gia for accessing touch related system file-nodes
17allow gia sysfs_touch_gti:dir r_dir_perms;
18allow gia sysfs_touch_gti:file rw_file_perms;