blob: a8f754d809d400a17c6a0ef4a7ae0f87bf377ac6 [file] [log] [blame]
Biswajit Paul6786a922017-03-16 11:53:53 -07001type fidodaemon, domain;
Ravi Kumar Siddojigaric7def122017-06-13 00:49:19 +05302type fidodaemon_exec, exec_type, vendor_file_type, file_type;
Puneet Mishra7e568c92015-04-02 12:28:01 +01003
4#Allow for transition from init domain to fidodaemon
5init_daemon_domain(fidodaemon)
6
7#Allow fidodaemon to use Binder IPC
Ravi Kumar Siddojigaric7def122017-06-13 00:49:19 +05308#binder_use(fidodaemon)
Puneet Mishra7e568c92015-04-02 12:28:01 +01009
10#Allow apps to interact with fidodaemon
11binder_call(fidodaemon, platform_app)
12binder_call(fidodaemon, system_app)
13
14#Mark fidodaemon as a Binder service domain
Ravi Kumar Siddojigaric7def122017-06-13 00:49:19 +053015#binder_service(fidodaemon)
Puneet Mishra7e568c92015-04-02 12:28:01 +010016
17#Allow fidodaemon to be registered with service manager
18allow fidodaemon fidodaemon_service:service_manager add;
19
Puneet Mishra7e568c92015-04-02 12:28:01 +010020#Allow access to tee device
21allow fidodaemon tee_device:chr_file rw_file_perms;
22
23#Allow access to firmware
Avijit Kanti Das441bad42015-05-12 14:07:41 -070024r_dir_file(fidodaemon, firmware_file)