diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-09-09 01:00:56 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-09-09 01:00:56 +0000 |
commit | b7d831e198d59af6f65af682f1fbb1c8f25c3dba (patch) | |
tree | 4e02893238d440f4384211ca2e61ff02d53e64d7 | |
parent | a6764b2e0dcd63745b6abd12928bdab15d48494c (diff) | |
parent | 05aa559d982df948b0bde1f56f31767bd5065230 (diff) | |
download | hikey-b7d831e198d59af6f65af682f1fbb1c8f25c3dba.tar.gz |
Merge "Change memlock rlimit to support eBPF feature"
-rw-r--r-- | init.common.rc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init.common.rc b/init.common.rc index cb8abb79..705a66eb 100644 --- a/init.common.rc +++ b/init.common.rc @@ -31,6 +31,10 @@ on fs setprop ro.crypto.fuse_sdcard false on post-fs + + # set RLIMIT_MEMLOCK to 8MB + setrlimit 8 8388608 8388608 + # For legacy support # See storage config details at http://source.android.com/tech/storage/ # since /storage is mounted on post-fs in init.rc |