• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-c誰得cocoaqtpythonrubywindowsphpgameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwitterdombtronvb.nettestarduinodirectxpreviewerゲームエンジン

device/generic/x86


Commit MetaInfo

Revision68e02e92f738c4eaf7c34850e4b711031461aa1b (tree)
Time2015-04-03 21:27:03
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

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/init.rc
+++ b/init.rc
@@ -102,6 +102,7 @@ loglevel 3
102102 mkdir /dev/cpuctl
103103 mount cgroup none /dev/cpuctl cpu
104104 chown system system /dev/cpuctl
105+ chmod 0660 /dev/cpuctl
105106 chown system system /dev/cpuctl/tasks
106107 chmod 0660 /dev/cpuctl/tasks
107108 write /dev/cpuctl/cpu.shares 1024