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 cuttlefish, the rlimit is set to 8MB for all processes.

Modification adapted from a change made to device/linaro/hikey in
Ie0b4ceb889a838dd5b0ddb1630d28811f6ddc983.

Bug: 119279144
Test: 'dumpsys netd trafficcontroller' indicates BPF support is enabled
Change-Id: Ide77be7a70d8cc3408185fd04d5d65cef0b9e43f
Signed-off-by: Alistair Strachan <astrachan@google.com>
1 file changed