• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
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

修订版2f01e34f1ed8a7b4f01fa276efa546db0dadf54f (tree)
时间2016-11-09 00:56:25
作者Chih-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.

更改概述

差异

--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -140,6 +140,7 @@ on init
140140 mkdir /dev/cpuctl
141141 mount cgroup none /dev/cpuctl cpu
142142 chown system system /dev/cpuctl
143+ chmod 0660 /dev/cpuctl
143144 chown system system /dev/cpuctl/tasks
144145 chmod 0666 /dev/cpuctl/tasks
145146 write /dev/cpuctl/cpu.rt_period_us 1000000