Increase RLIMIT_MEMLOCK to 64MB

Increase the limit to support the bpf maps and programs

otherwise the bfp tests will fail with the "Operation not permitted" error,

which is returned by the check of bpf_charge_memlock in kernel/bpf/syscall.c

Test: ./android-vts/tools/vts-tradefed run vts-kernel -m VtsKernelNetTest

Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Change-Id: I5ef7e335a12efb8ae830f07f445e256d4de42606
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/