From 6aa4469fd35422f6deec75b389ff361a6cc5104e Mon Sep 17 00:00:00 2001 From: Jade Guo Date: Tue, 31 Dec 2024 07:50:44 +0000 Subject: [PATCH] Add ota coordinator rules to support improved vuart Tracked-On: OAM-128963 Signed-off-by: Jade Guo --- ota_coordinator/ota_coordinator.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ota_coordinator/ota_coordinator.te b/ota_coordinator/ota_coordinator.te index c2d1291..234cc36 100644 --- a/ota_coordinator/ota_coordinator.te +++ b/ota_coordinator/ota_coordinator.te @@ -10,6 +10,9 @@ hal_server_domain(ota_coordinator, hal_bootctl) allow ota_coordinator serial_device:chr_file { read write open ioctl }; allow ota_coordinator sysfs:dir r_dir_perms; +allow ota_coordinator sysfs_gpu:file { read open getattr}; +allow ota_coordinator sysfs:file { read getattr open }; +allow ota_coordinator sysfs_app_readable:file { getattr open read }; allow ota_coordinator block_device:dir search; allow ota_coordinator init:unix_stream_socket connectto; allow ota_coordinator misc_block_device:blk_file rw_file_perms;