• 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

Revisión6894a08dc3c4623eeeeffbcc8a18bcc373b3f9b1 (tree)
Tiempo2015-12-22 12:24:42
AutorChih-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.

Cambiar Resumen

Diferencia incremental

--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -118,6 +118,7 @@ on init
118118 mkdir /dev/cpuctl
119119 mount cgroup none /dev/cpuctl cpu
120120 chown system system /dev/cpuctl
121+ chmod 0660 /dev/cpuctl
121122 chown system system /dev/cpuctl/tasks
122123 chmod 0666 /dev/cpuctl/tasks
123124 write /dev/cpuctl/cpu.shares 1024