diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2017-10-06 10:41:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-06 10:04:36 -0700 |
commit | c4eb7f4643ce3741e63b7d3f9b70bb7a637e738a (patch) | |
tree | 487dd38ac704263937622d1963786e191fb6083a /drivers | |
parent | 280b058d4801cb431477dc101a776e4b24995f2f (diff) |
samples/bpf: xdp_monitor increase memory rlimit
Other concurrent running programs, like perf or the XDP program what
needed to be monitored, might take up part of the max locked memory
limit. Thus, the xdp_monitor tool have to set the RLIMIT_MEMLOCK to
RLIM_INFINITY, as it cannot determine a more sane limit.
Using the man exit(3) specified EXIT_FAILURE return exit code, and
correct other users too.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions