1type folio_daemon, domain, coredomain;
2type folio_daemon_exec, system_file_type, exec_type, file_type;
3
4init_daemon_domain(folio_daemon)
5
6allow folio_daemon binder_device:chr_file rw_file_perms;
7allow folio_daemon uhid_device:chr_file rw_file_perms;
8
9allow folio_daemon system_server:unix_stream_socket rw_socket_perms_no_ioctl;
10
11binder_use(folio_daemon)
12binder_call(folio_daemon, system_server)
13
14allow folio_daemon sensorservice_service:service_manager find;
15allow folio_daemon permission_service:service_manager find;
16