Nick Kralevich | caa6a32 | 2013-12-15 12:50:00 -0800 | [diff] [blame] | 1 | # inputflinger |
| 2 | type inputflinger, domain; |
| 3 | type inputflinger_exec, exec_type, file_type; |
| 4 | |
| 5 | init_daemon_domain(inputflinger) |
| 6 | binder_use(inputflinger) |
| 7 | binder_service(inputflinger) |
Stephen Smalley | e06e536 | 2014-03-21 10:40:56 -0400 | [diff] [blame] | 8 | |
| 9 | binder_call(inputflinger, system_server) |
Riley Spahn | f90c41f | 2014-06-05 15:52:02 -0700 | [diff] [blame] | 10 | |
Tim Kilbourn | 2133c2a | 2015-03-24 15:31:47 -0700 | [diff] [blame] | 11 | wakelock_use(inputflinger) |
| 12 | |
dcashman | cd82557 | 2014-12-11 16:01:27 -0800 | [diff] [blame] | 13 | allow inputflinger inputflinger_service:service_manager { add find }; |
Tim Kilbourn | 2133c2a | 2015-03-24 15:31:47 -0700 | [diff] [blame] | 14 | allow inputflinger input_device:dir r_dir_perms; |
| 15 | allow inputflinger input_device:chr_file rw_file_perms; |