summaryrefslogtreecommitdiff
path: root/rootdir/init.rc
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2016-07-11 13:57:31 -0700
committerTim Murray <timmurray@google.com>2016-07-11 13:57:31 -0700
commit5dcff8f2b19a53abe7c632a22f455df396554afe (patch)
tree3fd2ca262538a52d7794f3dc0c403ba4c2e8b7a6 /rootdir/init.rc
parent955694b657012c50312de99e6f78084beae52d60 (diff)
Add support for background stune group.
bug 29512132 Change-Id: If8144bfee0fb30cf11f2bb26494ca5e83c11d4d7
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 32970e434..97bfe6b9a 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -50,15 +50,19 @@ on init
mkdir /dev/stune
mount cgroup none /dev/stune schedtune
mkdir /dev/stune/foreground
+ mkdir /dev/stune/background
mkdir /dev/stune/top-app
chown system system /dev/stune
chown system system /dev/stune/foreground
+ chown system system /dev/stune/background
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/background/tasks
chown system system /dev/stune/top-app/tasks
chmod 0664 /dev/stune/tasks
chmod 0664 /dev/stune/foreground/tasks
+ chmod 0664 /dev/stune/background/tasks
chmod 0664 /dev/stune/top-app/tasks
# Mount staging areas for devices managed by vold