Revert submission 30378113-revert-29512389-gia-PMLMEKURMT Reason for revert: Revert to fix the issue that GIA cannot be started in caimen-next-userdbg Reverted changes: /q/submissionid:30378113-revert-29512389-gia-PMLMEKURMT Bug: 367881686 Change-Id: Iecc4738c10dfe244bea02611f1926a9f6264a46c
18 lines
568 B
Text
18 lines
568 B
Text
# SEPolicies for GIA (Google Input interface Abstraction layer)
|
|
type gia, domain;
|
|
type gia_exec, exec_type, vendor_file_type, file_type;
|
|
|
|
# Macro transferring gia_exec to the gia domain
|
|
init_daemon_domain(gia)
|
|
|
|
# let this domain use the hal service
|
|
hal_client_domain(gia, hal_gia)
|
|
# allow binder communication with service_manager
|
|
binder_use(gia)
|
|
|
|
# let this domain serve the hal service
|
|
hal_server_domain(gia, hal_gia)
|
|
|
|
# allow gia for accessing touch related system file-nodes
|
|
allow gia sysfs_touch_gti:dir r_dir_perms;
|
|
allow gia sysfs_touch_gti:file rw_file_perms;
|