• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

Revision385c2d9123e3ed620f5ff2627ab32db1928e07d7 (tree)
Time2016-07-27 03:52:26
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterJaap Jan Meijer

Log Message

init.rc: fix for "add_tid_to_cgroup failed to write" warnings

I still don't understand why only 0660 works.

Change Summary

Incremental Difference

--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -129,6 +129,7 @@ on init
129129 mkdir /dev/cpuctl
130130 mount cgroup none /dev/cpuctl cpu
131131 chown system system /dev/cpuctl
132+ chmod 0660 /dev/cpuctl
132133 chown system system /dev/cpuctl/tasks
133134 chmod 0666 /dev/cpuctl/tasks
134135 write /dev/cpuctl/cpu.shares 1024