summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot2018-07-30 18:37:59 -0500
committerGerrit Code Review2018-07-30 18:37:59 -0500
commitf2878cf15b0c82f22298919b022623340bed0405 (patch)
treef3f17886cddbc8ca8508414e892bd5a38cfea74f
parentbc31fc62ce93473e6eedab920fa5a8d41ef2597d (diff)
parent0451fd65841f627e0173e5c64a9319d10d0918ac (diff)
downloadplatform-system-core-f2878cf15b0c82f22298919b022623340bed0405.tar.gz
platform-system-core-f2878cf15b0c82f22298919b022623340bed0405.tar.xz
platform-system-core-f2878cf15b0c82f22298919b022623340bed0405.zip
Merge "Make /acct have 0555 permissions after mounting"
-rw-r--r--rootdir/init.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index d3f038ea5..486d096ab 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -26,6 +26,7 @@ on early-init
26 26
27 # Mount cgroup mount point for cpu accounting 27 # Mount cgroup mount point for cpu accounting
28 mount cgroup none /acct nodev noexec nosuid cpuacct 28 mount cgroup none /acct nodev noexec nosuid cpuacct
29 chmod 0555 /acct
29 mkdir /acct/uid 30 mkdir /acct/uid
30 31
31 # root memory control cgroup, used by lmkd 32 # root memory control cgroup, used by lmkd