mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Adding in ioctl access to address hal_graphics... denials.
denied { ioctl } for path="/dev/video3" dev="tmpfs" ino=20567
ioctlcmd=5613 scontext=u:r:hal_graphics_composer_default:s0
tcontext=u:object_r:video_device:s0 tclass=chr_file
Bug: 37671626
Test: The denial no longer appears during camera operation
Change-Id: I5bc3a513190169e7e20c912318bc085f83901833
This commit is contained in:
@@ -12,7 +12,7 @@ allow hal_graphics_composer_default persist_file:dir search;
|
||||
r_dir_file(hal_graphics_composer_default, sysfs_leds)
|
||||
|
||||
# TODO(b/37666508): Remove the following line upon resolution of the bug
|
||||
allow hal_graphics_composer_default video_device:chr_file { open read write };
|
||||
allow hal_graphics_composer_default video_device:chr_file rw_file_perms;
|
||||
|
||||
# HWC_UeventThread
|
||||
allow hal_graphics_composer_default self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
|
||||
|
||||
Reference in New Issue
Block a user