system/corennnnn
Revisión | 6894a08dc3c4623eeeeffbcc8a18bcc373b3f9b1 (tree) |
---|---|
Tiempo | 2015-12-22 12:24:42 |
Autor | 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.
@@ -118,6 +118,7 @@ on init | ||
118 | 118 | mkdir /dev/cpuctl |
119 | 119 | mount cgroup none /dev/cpuctl cpu |
120 | 120 | chown system system /dev/cpuctl |
121 | + chmod 0660 /dev/cpuctl | |
121 | 122 | chown system system /dev/cpuctl/tasks |
122 | 123 | chmod 0666 /dev/cpuctl/tasks |
123 | 124 | write /dev/cpuctl/cpu.shares 1024 |