device_xiaomi_sweet/sepolicy/vendor/hal_sensors_default.te
Zafer Yusuf Vardar ec6950d6f7
sweet: Address elliptic denials
Change-Id: I0a43f0667505ba42f2cfa73e63fb34779787e1af
2023-05-19 01:23:29 +05:30

8 lines
341 B
Plaintext

type vendor_sysfs_iio, fs_type, sysfs_type;
type vendor_elliptic_device, dev_type;
allow hal_sensors_default iio_device:chr_file rw_file_perms;
allow hal_sensors_default vendor_elliptic_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;