Increase RLIMIT_MEMLOCK to 64MB am: ab5d0cc635
Change-Id: I180421b618d09751ef28fba3ff35064fda15bcb1
diff --git a/init.common.rc b/init.common.rc
index 8b8f952..988a5e1 100644
--- a/init.common.rc
+++ b/init.common.rc
@@ -5,6 +5,10 @@
mount_all /vendor/etc/init/fstab.${ro.hardware}
swapon_all /vendor/etc/init/fstab.${ro.hardware}
+on post-fs
+ # set RLIMIT_MEMLOCK to 64MB
+ setrlimit 8 67108864 67108864
+
on init
# For legacy support
# See storage config details at http://source.android.com/tech/storage/