Allow rebalance interrupts to chown
Bug: 196058977
Test: Check ownership of smp_affinity handles
Change-Id: Idf2235882ba4eb714edc4634e32acce86fc92585
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 @@
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 };