linux_dsm_epyc7002/samples
John Fastabend 4dfe1bb952 bpf: sockmap sample use clang flag, -target bpf
Per Documentation/bpf/bpf_devel_QA.txt add the -target flag to the
sockmap Makefile. Relevant text quoted here,

   Otherwise, you can use bpf target. Additionally, you _must_ use
   bpf target when:

 - Your program uses data structures with pointer or long / unsigned
   long types that interface with BPF helpers or context data
   structures. Access into these structures is verified by the BPF
   verifier and may result in verification failures if the native
   architecture is not aligned with the BPF architecture, e.g. 64-bit.
   An example of this is BPF_PROG_TYPE_SK_MSG require '-target bpf'

Fixes: 69e8cc134b ("bpf: sockmap sample program")
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-04-23 23:42:21 +02:00
..
auxdisplay
bpf samples/bpf: raw tracepoint test 2018-03-28 22:55:19 +02:00
configfs
connector
hidraw
hw_breakpoint
kdb
kfifo
kobject
kprobes arch: remove tile port 2018-03-16 10:56:03 +01:00
livepatch livepatch: Allow to call a custom callback when freeing shadow variables 2018-04-17 13:42:48 +02:00
mei
mic/mpssd
pktgen
qmi samples: Introduce Qualcomm QMI sample client 2018-02-12 16:57:22 -08:00
rpmsg
seccomp samples/seccomp: do not compile when cross compiled 2018-02-22 09:31:43 -08:00
sockmap bpf: sockmap sample use clang flag, -target bpf 2018-04-23 23:42:21 +02:00
statx
timers
trace_events
trace_printk
uhid
v4l
vfio-mdev vfio-mdev/samples: change RDI interrupt condition 2018-03-22 13:18:18 -06:00
watchdog
Kconfig remoteproc updates for v4.17 2018-04-10 12:09:27 -07:00
Makefile remoteproc updates for v4.17 2018-04-10 12:09:27 -07:00