linux/Documentation
John Fastabend 514d6c1959 bpf: Document sockmap '-target bpf' requirement for PROG_TYPE_SK_MSG
BPF_PROG_TYPE_SK_MSG programs use a 'void *' for both data and the
data_end pointers. Additionally, the verifier ensures that every
accesses into the values is a __u64 read. This correctly maps on
to the BPF 64-bit architecture.

However, to ensure that when building on 32bit architectures that
clang uses correct types the '-target bpf' option _must_ be
specified. To make this clear add a note to the Documentation.

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
..
2018-04-10 10:22:27 -07:00
2018-04-09 11:42:31 -07:00
2018-04-06 12:15:41 -07:00
2018-04-09 11:42:31 -07:00
2017-09-07 21:11:05 -07:00
2018-04-11 10:28:39 -07:00
2018-04-06 12:15:41 -07:00
2018-03-28 14:30:41 +10:00
2018-03-16 10:56:03 +01:00
2018-04-03 16:28:01 -07:00
2018-02-21 09:57:55 +01:00
2017-05-02 17:34:32 -07:00
2018-02-22 15:00:43 -06:00
2018-03-06 17:26:15 +01:00
2017-07-07 13:55:45 -07:00
2018-03-26 12:13:21 -04:00
2018-03-01 17:32:14 +01:00
2017-05-16 08:44:18 -03:00
2017-11-14 18:01:46 -08:00
2018-04-11 10:28:35 -07:00
2018-04-10 11:27:30 -07:00
2018-04-11 10:28:39 -07:00
2018-03-26 15:57:04 +02:00
2017-12-16 22:37:12 -08:00
2018-03-16 10:56:05 +01:00
2017-08-19 11:02:53 -07:00
2017-07-14 13:51:34 -06:00
2017-07-14 13:51:42 -06:00
2017-07-14 13:51:43 -06:00
2017-07-14 13:51:43 -06:00
2017-07-14 13:51:45 -06:00
2017-07-14 13:51:45 -06:00
2017-07-14 13:51:46 -06:00
2017-07-14 13:57:58 -06:00
2017-07-14 13:57:59 -06:00
2017-07-06 08:23:30 +02:00
2017-07-14 13:58:04 -06:00
2017-07-14 13:58:14 -06:00
2017-07-14 13:58:10 -06:00
2017-07-14 13:58:11 -06:00