system/corennnnn
Revision | 385c2d9123e3ed620f5ff2627ab32db1928e07d7 (tree) |
---|---|
Time | 2016-07-27 03:52:26 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Jaap Jan Meijer |
init.rc: fix for "add_tid_to_cgroup failed to write" warnings
I still don't understand why only 0660 works.
@@ -129,6 +129,7 @@ on init | ||
129 | 129 | mkdir /dev/cpuctl |
130 | 130 | mount cgroup none /dev/cpuctl cpu |
131 | 131 | chown system system /dev/cpuctl |
132 | + chmod 0660 /dev/cpuctl | |
132 | 133 | chown system system /dev/cpuctl/tasks |
133 | 134 | chmod 0666 /dev/cpuctl/tasks |
134 | 135 | write /dev/cpuctl/cpu.shares 1024 |