Change memlock rlimit to support eBPF feature

The eBPF trafficController in netd need as least 8MB memlock rlimit to
run properly due to the size of eBPF maps. To make this feature
avalaible on hikey, the rlimit is set to 8MB for all processes.

Bug: 70945407
Bug: 79938294
Test: dumpsys netd trafficcontroller doesn't show errors
Change-Id: Ie0b4ceb889a838dd5b0ddb1630d28811f6ddc983
diff --git a/init.common.rc b/init.common.rc
index cb8abb7..705a66e 100644
--- a/init.common.rc
+++ b/init.common.rc
@@ -31,6 +31,10 @@
     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