device_xiaomi_sweet/sepolicy/vendor/hal_sensors_default.te
Arian 53d3c0a5b1 sweet: Add ultrasound sepolicy
Change-Id: I5b16c2f76f66375fbef3c0b1ccb91f2e857dfb9d
2021-07-12 16:33:37 +05:30

6 lines
229 B
Plaintext

type vendor_sysfs_iio, fs_type, sysfs_type;
allow hal_sensors_default iio_device:chr_file rw_file_perms;
allow hal_sensors_default vendor_sysfs_iio:dir r_dir_perms;
allow hal_sensors_default vendor_sysfs_iio:file rw_file_perms;