From fd99152e171f0036b47f38870f55dfea5b8b787d Mon Sep 17 00:00:00 2001 From: bengris32 Date: Tue, 5 Sep 2023 13:18:58 +0100 Subject: [PATCH] basic: non_plat: Allow rebalance_interrupts to read `affected_cpus` Change-Id: I2bd9a7e71033a0cf91b93531c5fb41d302796397 Signed-off-by: bengris32 --- basic/non_plat/rebalance_interrupts.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/basic/non_plat/rebalance_interrupts.te b/basic/non_plat/rebalance_interrupts.te index a76b7d6..46deba8 100644 --- a/basic/non_plat/rebalance_interrupts.te +++ b/basic/non_plat/rebalance_interrupts.te @@ -9,3 +9,5 @@ allow rebalance_interrupts_vendor sysfs_irq:file r_file_perms; allow rebalance_interrupts_vendor proc_irq:dir r_dir_perms; allow rebalance_interrupts_vendor proc_irq:file { rw_file_perms setattr }; allow rebalance_interrupts_vendor self:capability { chown setuid setgid }; + +r_dir_file(rebalance_interrupts_vendor, sysfs_devices_system_cpu)