Skip to content

Commit

Permalink
Allow SystemUI access to brightness sysfs for FOD
Browse files Browse the repository at this point in the history
  • Loading branch information
phhusson committed Jan 3, 2023
1 parent 7c1a29f commit 11712d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sepolicy/asus.te
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ allow cameraserver phhsu_exec:file rx_file_perms;
type asus_motor_device, file_type;
allow cameraserver asus_motor_device:chr_file { open read write ioctl };
allowxperm cameraserver asus_motor_device:chr_file ioctl { 0x4d02 };

type vendor_sysfs_graphics, file_type;
allow platform_app vendor_sysfs_graphics:dir r_dir_perms;
allow platform_app vendor_sysfs_graphics:file r_file_perms;

0 comments on commit 11712d1

Please sign in to comment.