summaryrefslogtreecommitdiff
path: root/rootdir/init.rc
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2016-07-11 11:40:15 -0700
committerTim Murray <timmurray@google.com>2016-07-11 11:40:15 -0700
commit955694b657012c50312de99e6f78084beae52d60 (patch)
treef1a348e7df78025a24fd623ecbf4e1c3a9f30a69 /rootdir/init.rc
parentaa45cb85e3d5d7f717feab6fe421ef377301c559 (diff)
Add support for top-app stune group.
bug 29512132 Change-Id: I41ec2dd80a469309f48dbb59fc27fbe43fcd67b3
Diffstat (limited to 'rootdir/init.rc')
-rw-r--r--rootdir/init.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index da3b98b87..32970e434 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -50,12 +50,16 @@ on init
mkdir /dev/stune
mount cgroup none /dev/stune schedtune
mkdir /dev/stune/foreground
+ mkdir /dev/stune/top-app
chown system system /dev/stune
chown system system /dev/stune/foreground
+ chown system system /dev/stune/top-app
chown system system /dev/stune/tasks
chown system system /dev/stune/foreground/tasks
+ chown system system /dev/stune/top-app/tasks
chmod 0664 /dev/stune/tasks
chmod 0664 /dev/stune/foreground/tasks
+ chmod 0664 /dev/stune/top-app/tasks
# Mount staging areas for devices managed by vold
# See storage config details at http://source.android.com/tech/storage/