summaryrefslogtreecommitdiff
path: root/rebalance_interrupts
diff options
context:
space:
mode:
authorEdmond Chung <edmondchung@google.com>2021-08-18 14:52:22 -0700
committerEdmond Chung <edmondchung@google.com>2021-08-18 14:52:22 -0700
commit9b1dc1d0a8e1019d3f4db8aa943b006cd364f272 (patch)
tree94440e982bda63f6c696f4d7fceaaa0f5a193683 /rebalance_interrupts
parentf55e1932fe5f751a5b7c7c00e24f5ed733d140e9 (diff)
downloadpixel-sepolicy-9b1dc1d0a8e1019d3f4db8aa943b006cd364f272.tar.gz
Allow rebalance interrupts to chown
Bug: 196058977 Test: Check ownership of smp_affinity handles Change-Id: Idf2235882ba4eb714edc4634e32acce86fc92585
Diffstat (limited to 'rebalance_interrupts')
-rw-r--r--rebalance_interrupts/rebalance_interrupts.te3
1 files changed, 2 insertions, 1 deletions
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 };