### SYSFS
type sysfs_argos, sysfs_type, r_fs_type, fs_type;
type sysfs_battery, sysfs_type, r_fs_type, fs_type;
+type sysfs_bbd, sysfs_type, r_fs_type, fs_type;
type sysfs_fingerprint, sysfs_type, r_fs_type, fs_type;
type sysfs_iio, sysfs_type, r_fs_type, fs_type;
type sysfs_input, sysfs_type, r_fs_type, fs_type;
# genfs_contexts
### SYSFS
+genfscon sysfs /bbd u:object_r:sysfs_bbd:s0
+
genfscon sysfs /bus/iio/devices u:object_r:sysfs_iio:s0
genfscon sysfs /class/backlight/ u:object_r:sysfs_backlight_writable:s0
# /dev/socket/fwmarkd
allow lhd fwmarkd_socket:sock_file write;
+# /sys/bbd/lk_enable
+r_dir_file(lhd, sysfs_bbd)
+
# /sys/class/sec/gps
allow lhd sysfs_sec_gps:dir r_dir_perms;
allow lhd sysfs_sec_gps:file r_file_perms;