test-bpf-firewall: do not mlock() a large amount of memory
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 8 Nov 2019 11:03:23 +0000 (12:03 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 10 Nov 2019 22:22:15 +0000 (23:22 +0100)
commitee19c8073345877c6cb9e6fa760660b82b71558d
tree432732e6ea7d8bea3fffc68f88649bf45be4acd4
parentd3472f9b50d76545f93f90662d1abd815e0a4c90
test-bpf-firewall: do not mlock() a large amount of memory

64MB is not that much, but let's not be greedy, esp. because we may run
many things in parallel.

Also, rlim_cur should never be higher than rlim_max, so let's simplify our
code.
src/test/test-bpf-firewall.c