system/corennnnn
修订版 | 2f01e34f1ed8a7b4f01fa276efa546db0dadf54f (tree) |
---|---|
时间 | 2016-11-09 00:56:25 |
作者 | 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 |