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
..
2017-05-04 16:08:52 +05:30
2017-05-08 17:15:13 -07:00
2017-05-04 12:05:32 -07:00
2017-05-02 11:02:41 +02:00
2017-05-01 16:15:18 -07:00
2017-05-08 19:03:25 -07:00
2017-05-08 17:15:13 -07:00
2017-05-08 20:07:29 -07:00
2017-05-02 17:59:33 -07:00
2017-05-09 15:15:47 -07:00
2017-05-04 12:31:02 -04:00
2017-04-30 22:17:36 +09:00
2017-05-08 17:15:15 -07:00
2017-05-04 18:03:51 -07:00
2017-05-04 18:03:51 -07:00
2017-05-09 15:15:47 -07:00
2017-05-09 15:15:47 -07:00
2017-04-28 18:09:59 -04:00
2017-05-02 10:16:05 -04:00
2017-05-01 14:09:21 -07:00
2017-05-04 08:24:40 -06:00
2017-05-06 11:25:08 -07:00
2017-05-11 14:19:00 -04:00
2017-04-26 23:54:06 -04:00
2017-05-01 13:52:24 -07:00
2017-05-01 16:15:18 -07:00
2017-05-03 08:50:52 -07:00
2017-05-08 17:15:11 -07:00
2017-05-08 17:15:11 -07:00
2017-05-05 18:49:20 -07:00
2017-04-26 23:57:53 +02:00
2017-05-04 18:06:17 +02:00
2017-05-04 08:24:40 -06:00
2017-05-08 17:15:11 -07:00
2017-05-03 10:04:56 -07:00
2017-04-27 05:13:04 -04:00
2017-05-08 17:15:14 -07:00
2017-05-09 09:12:53 -07:00
2017-04-30 01:26:34 -04:00
2017-05-04 11:44:37 -04:00
2017-05-04 11:44:41 -04:00
2017-05-08 17:15:13 -07:00
2017-05-03 15:52:10 -07:00
Merge branches 'for-4.11/upstream-fixes', 'for-4.12/accutouch', 'for-4.12/cp2112', 'for-4.12/hid-core-null-state-handling', 'for-4.12/hiddev', 'for-4.12/i2c-hid', 'for-4.12/innomedia', 'for-4.12/logitech-hidpp-battery-power-supply', 'for-4.12/multitouch', 'for-4.12/nti', 'for-4.12/upstream' and 'for-4.12/wacom' into for-linus
2017-05-02 11:01:10 +02:00
2017-05-04 19:15:35 -07:00
2017-05-03 12:38:20 -07:00
2017-04-28 12:28:45 +02:00
2017-04-27 16:34:29 -04:00
2017-05-03 08:50:52 -07:00
2017-05-04 18:06:17 +02:00
2017-05-08 17:15:12 -07:00
2017-05-03 15:52:09 -07:00
2017-05-08 17:15:10 -07:00
2017-05-02 15:53:46 -07:00
2017-05-08 17:15:11 -07:00
2017-05-05 11:36:44 -07:00
2017-05-08 17:15:14 -07:00
2017-05-03 15:52:10 -07:00
2017-05-08 18:17:56 -07:00
2017-05-04 14:01:24 -07:00
2017-05-03 15:52:11 -07:00
2017-05-03 15:52:10 -07:00
2017-05-08 17:15:13 -07:00
2017-05-08 17:15:10 -07:00
2017-05-03 19:12:27 -07:00
2017-05-01 10:35:47 -04:00
2017-05-03 09:51:24 -04:00
2017-05-09 15:15:47 -07:00
2017-05-04 14:01:13 -05:00
2017-05-05 11:36:44 -07:00
2017-05-08 17:15:10 -07:00
2017-04-28 10:23:19 -05:00
2017-05-08 19:03:25 -07:00
2017-04-26 22:39:08 -04:00
2017-05-09 10:01:15 -07:00
2017-05-08 17:15:11 -07:00
2017-05-08 17:15:12 -07:00
2017-05-01 16:22:40 -04:00
2017-05-01 10:26:40 -04:00
2017-05-03 15:52:10 -07:00
2017-05-03 15:52:09 -07:00
2017-05-05 18:16:23 -07:00
2017-05-08 17:15:12 -07:00
2017-05-08 18:49:23 -07:00
2017-05-02 16:40:27 -07:00
2017-05-05 18:49:20 -07:00
2017-05-03 15:52:11 -07:00
2017-05-02 10:45:15 -07:00
2017-05-08 17:15:15 -07:00
2017-05-08 17:15:14 -07:00
2017-05-03 15:52:08 -07:00
2017-05-08 17:15:12 -07:00