linux/tools/include/uapi/linux
David S. Miller e07b98d9bf bpf: Add strict alignment flag for BPF_PROG_LOAD.
Add a new field, "prog_flags", and an initial flag value
BPF_F_STRICT_ALIGNMENT.

When set, the verifier will enforce strict pointer alignment
regardless of the setting of CONFIG_EFFICIENT_UNALIGNED_ACCESS.

The verifier, in this mode, will also use a fixed value of "2" in
place of NET_IP_ALIGN.

This facilitates test cases that will exercise and validate this part
of the verifier even when run on architectures where alignment doesn't
matter.

Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
2017-05-11 14:19:00 -04:00
..
bpf.h bpf: Add strict alignment flag for BPF_PROG_LOAD. 2017-05-11 14:19:00 -04:00
bpf_common.h tools lib bpf: Copy bpf.h and bpf_common.h from the kernel 2016-07-12 15:20:32 -03:00
bpf_perf_event.h selftests/bpf: fix broken build 2017-03-12 23:48:41 -07:00
fcntl.h tools include uapi: Grab copies of stat.h and fcntl.h 2017-03-31 11:26:03 -03:00
hw_breakpoint.h hw_breakpoint: Allow watchpoint of length 3,5,6 and 7 2016-11-18 17:23:17 +00:00
mman.h tools include: Add uapi mman.h for each architecture 2016-09-13 15:26:08 -03:00
perf_event.h powerpc updates for 4.12 part 1. 2017-05-05 11:36:44 -07:00
stat.h tools: Update asm-generic/mman-common.h copy from the kernel 2017-04-24 13:43:35 -03:00