Files
device_google_wahoo/sepolicy/vendor/hal_vibrator_default.te
Dan Cashman 051bcb3713 Add BOARD_PLAT_[PUBLIC|PRIVATE]_SEPOLICY_DIR
Move vendor policy to vendor and add a place for system extensions.
Also add such an extension: a labeling of the qti.ims.ext service.

Bug: 38151691
Bug: 62041272
Test: Policy binary identical before and after, except plat_service_contexts
has new service added.
Change-Id: Ie4e8527649787dcf2391b326daa80cf1c9bd9d2f
2017-06-02 13:45:16 -07:00

9 lines
384 B
Plaintext

r_dir_file(hal_vibrator_default, sysfs_leds)
allow hal_vibrator_default sysfs_leds:file w_file_perms;
allow hal_vibrator_default sysfs_msm_subsys:file rw_file_perms;
allow hal_vibrator_default sysfs_msm_subsys:dir search;
# read-only permission to obtain the calibration data
r_dir_file(hal_vibrator_default, persist_haptics_file)
allow hal_vibrator_default persist_file:dir search;