Skip to content

Commit

Permalink
Add graphics related sepolicy for hal_sensors
Browse files Browse the repository at this point in the history
Fix VTS sensors issues.
-DirectChannelGralloc/0_android_hardware_sensors_ISensors_default

Test Done:
run vts -m VtsAidlHalSensorsTargetTest

Tracked-On: OAM-128294
Signed-off-by: Rajani Ranjan <[email protected]>
  • Loading branch information
RajaniRanjan committed Dec 6, 2024
1 parent e4e100f commit 671b871
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sensors/mediation/sensor_hal_default.te
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ allowxperm hal_sensors_default self:socket ioctl unpriv_sock_ioctls;
allow hal_sensors_default serial_device:chr_file rw_file_perms;

allow hal_sensors_default self:vsock_socket { create read write connect getopt setopt };
allow hal_sensors_default hal_graphics_allocator_default_tmpfs:file { read write };

0 comments on commit 671b871

Please sign in to comment.