device/generic/x86
修訂 | 68e02e92f738c4eaf7c34850e4b711031461aa1b (tree) |
---|---|
時間 | 2015-04-03 21:27:03 |
作者 | 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.
@@ -102,6 +102,7 @@ loglevel 3 | ||
102 | 102 | mkdir /dev/cpuctl |
103 | 103 | mount cgroup none /dev/cpuctl cpu |
104 | 104 | chown system system /dev/cpuctl |
105 | + chmod 0660 /dev/cpuctl | |
105 | 106 | chown system system /dev/cpuctl/tasks |
106 | 107 | chmod 0660 /dev/cpuctl/tasks |
107 | 108 | write /dev/cpuctl/cpu.shares 1024 |