Prashant Malani | 2d9d3e6 | 2016-10-19 09:54:20 -0700 | [diff] [blame] | 1 | # vibrator subsystem |
2 | type android_hardware_vibrator_service, domain; | ||||
3 | type android_hardware_vibrator_service_exec, exec_type, file_type; | ||||
4 | |||||
5 | # hwbinder access | ||||
6 | hwbinder_use(android_hardware_vibrator_service) | ||||
7 | |||||
8 | # vibrator sysfs rw access | ||||
9 | allow android_hardware_vibrator_service sysfs_vibrator:file rw_file_perms; |