diff options
| author | Yonghong Song <[email protected]> | 2017-11-30 16:52:42 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2017-11-30 18:55:18 +0000 |
| commit | 2b279419567105d63f1e524bb1ac34ae8f918e5d (patch) | |
| tree | 92203e2f3d39166854b9cd0513fe08d98ae9f81a /net/unix/af_unix.c | |
| parent | trace/xdp: fix compile warning: 'struct bpf_map' declared inside parameter list (diff) | |
| download | kernel-2b279419567105d63f1e524bb1ac34ae8f918e5d.tar.gz kernel-2b279419567105d63f1e524bb1ac34ae8f918e5d.zip | |
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
