summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdmond Chung <edmondchung@google.com>2021-08-19 21:06:39 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-08-19 21:06:39 +0000
commite2063fa9ed8fc850a653c0727e9b0d200376f90f (patch)
tree885e67b8404ea71840f107aa716d4dbc562a8269
parentd5ac1c09e730705740c01429a2692a6819b003d9 (diff)
parent612b71725989fcca438f9232ca3e3cd15dd1b2e6 (diff)
downloadpixel-sepolicy-e2063fa9ed8fc850a653c0727e9b0d200376f90f.tar.gz
Allow rebalance interrupts to chown am: 9b1dc1d0a8 am: 612b717259
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/pixel-sepolicy/+/15615939 Change-Id: If9496eaefe99eb977f95fe7ab0781c73848601fb
-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 };