commit | 27ae545a78223b9fc92c51154ce110f75a6dda8a | [log] [tgz] |
---|---|---|
author | Jeff Vander Stoep <jeffv@google.com> | Tue Oct 25 12:42:39 2016 -0700 |
committer | Jeff Vander Stoep <jeffv@google.com> | Wed Oct 26 09:50:04 2016 -0700 |
tree | 1c43e696c9bf4be7f7aa3c2dad219a4132ed79a1 | |
parent | 2370fc775cf9c6bd8c2aed83e6501afa7d863037 [diff] [blame] |
clean up hal types Bug: 32123421 Test: build Hikey Change-Id: Iaf02626f3f3a94104c0f9d746c3cf5f20751a27d
diff --git a/public/hal_vibrator.te b/public/hal_vibrator.te new file mode 100644 index 0000000..02b965f --- /dev/null +++ b/public/hal_vibrator.te
@@ -0,0 +1,9 @@ +# vibrator subsystem +type hal_vibrator, domain; +type hal_vibrator_exec, exec_type, file_type; + +# hwbinder access +hwbinder_use(hal_vibrator) + +# vibrator sysfs rw access +allow hal_vibrator sysfs_vibrator:file rw_file_perms;