system/corennnnn
Revision | 61b718b34e89b08363019bbd51b2056bd51e3331 (tree) |
---|---|
Time | 2016-12-09 16:05:38 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
init.rc: fix for "add_tid_to_cgroup failed to write" warnings
I still don't understand why only 0660 works.
@@ -140,6 +140,7 @@ on init | ||
140 | 140 | mkdir /dev/cpuctl |
141 | 141 | mount cgroup none /dev/cpuctl cpu |
142 | 142 | chown system system /dev/cpuctl |
143 | + chmod 0660 /dev/cpuctl | |
143 | 144 | chown system system /dev/cpuctl/tasks |
144 | 145 | chmod 0666 /dev/cpuctl/tasks |
145 | 146 | write /dev/cpuctl/cpu.rt_period_us 1000000 |