Thread (2 messages) 2 messages, 2 authors, 2017-11-30

Re: [PATCH net-next] tools/bpf: adjust rlimit RLIMIT_MEMLOCK for test_verifier_log

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2017-11-30 19:02:27

On 11/30/2017 05:52 PM, Yonghong Song wrote:
The default rlimit RLIMIT_MEMLOCK is 64KB. In certain cases,
e.g. in a test machine mimicking our production system, this test may
fail due to unable to charge the required memory for prog load:
  # ./test_verifier_log
  Test log_level 0...
  ERROR: Program load returned: ret:-1/errno:1, expected ret:-1/errno:22

Changing the default rlimit RLIMIT_MEMLOCK to unlimited makes
the test always pass.

Signed-off-by: Yonghong Song <redacted>
Given this is a fix, I've applied this to bpf tree, thanks Yonghong!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help