summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2017-11-30 08:52:42 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2017-11-30 19:55:18 +0100
commit2b279419567105d63f1e524bb1ac34ae8f918e5d (patch)
tree92203e2f3d39166854b9cd0513fe08d98ae9f81a /kernel
parent23721a755f98ac846897a013c92cccb281c1bcc8 (diff)
downloadlinux-2b279419567105d63f1e524bb1ac34ae8f918e5d.tar.bz2
tools/bpf: adjust rlimit RLIMIT_MEMLOCK for test_verifier_log
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 <yhs@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions