From 9b1dc1d0a8e1019d3f4db8aa943b006cd364f272 Mon Sep 17 00:00:00 2001 From: Edmond Chung Date: Wed, 18 Aug 2021 14:52:22 -0700 Subject: Allow rebalance interrupts to chown Bug: 196058977 Test: Check ownership of smp_affinity handles Change-Id: Idf2235882ba4eb714edc4634e32acce86fc92585 --- rebalance_interrupts/rebalance_interrupts.te | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rebalance_interrupts/rebalance_interrupts.te b/rebalance_interrupts/rebalance_interrupts.te index 668a696..a76b7d6 100644 --- a/rebalance_interrupts/rebalance_interrupts.te +++ b/rebalance_interrupts/rebalance_interrupts.te @@ -7,4 +7,5 @@ init_daemon_domain(rebalance_interrupts_vendor) allow rebalance_interrupts_vendor sysfs_irq:dir r_dir_perms; 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; +allow rebalance_interrupts_vendor proc_irq:file { rw_file_perms setattr }; +allow rebalance_interrupts_vendor self:capability { chown setuid setgid }; -- cgit v1.2.3