1r_dir_file(hal_vibrator_default, sysfs_leds) 2allow hal_vibrator_default sysfs_leds:file w_file_perms; 3allow hal_vibrator_default sysfs_msm_subsys:file rw_file_perms; 4allow hal_vibrator_default sysfs_msm_subsys:dir search; 5 6# read-only permission to obtain the calibration data 7r_dir_file(hal_vibrator_default, persist_haptics_file) 8allow hal_vibrator_default persist_file:dir search; 9