linux/samples
Jesper Dangaard Brouer c4eb7f4643 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>
2017-10-06 10:04:36 -07:00
..
auxdisplay
blackfin
bpf samples/bpf: xdp_monitor increase memory rlimit 2017-10-06 10:04:36 -07:00
configfs
connector
hidraw
hw_breakpoint
kdb
kfifo kfifo: clean up example to not use page_link 2017-07-12 16:26:01 -07:00
kobject
kprobes
livepatch
mei mei: drop the TODO from samples 2017-04-26 11:38:56 +02:00
mic/mpssd
pktgen pktgen: Specify the index of first thread 2017-06-16 12:32:34 -04:00
rpmsg
seccomp
sockmap bpf: convert sockmap field attach_bpf_fd2 to type 2017-08-28 11:13:21 -07:00
statx
timers
trace_events
trace_printk
uhid
v4l media: v4l2-pci-skeleton: constify vb2_ops structures 2017-08-20 08:03:09 -04:00
vfio-mdev
watchdog
Kconfig
Makefile