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-02-10 16:00:01 +01:00
2017-04-25 09:04:30 +02:00
2016-09-09 09:53:35 -03:00
2016-08-22 22:43:35 +02:00
2017-01-05 13:02:25 +00:00
2016-11-29 09:00:30 +01:00
2017-05-03 10:11:26 -04:00
2017-01-31 12:31:54 -05:00
2017-04-20 09:41:45 -07:00
2017-03-02 08:42:42 +01:00
2017-02-10 13:18:33 -05:00
2017-04-18 16:54:19 +02:00
2017-04-08 17:37:20 +02:00
2016-11-13 12:35:13 -05:00
2017-02-21 13:25:50 -08:00
2017-02-27 18:43:45 -08:00
2017-02-27 18:43:45 -08:00
2017-02-27 18:43:45 -08:00
2017-01-26 08:34:19 +01:00
2016-10-18 10:05:42 -06:00
2016-09-02 10:46:44 -07:00
2017-05-11 14:19:00 -04:00
2016-11-13 00:57:53 -05:00
2016-09-29 19:05:06 -05:00
2017-03-07 14:10:17 +01:00
2016-12-07 10:45:57 +01:00
2017-04-18 16:54:19 +02:00
2016-12-21 06:59:13 -02:00
2017-03-03 07:24:00 -03:00
2017-04-10 19:17:26 +08:00
2017-04-22 20:26:37 +03:00
2016-11-21 09:52:02 -05:00
2017-05-01 09:27:15 +02:00
2017-05-09 10:10:15 -07:00
2017-05-04 19:31:46 -04:00
2017-03-14 09:47:33 +08:00
2016-10-03 09:11:14 -07:00
2017-03-02 20:51:15 -05:00
2016-11-04 14:45:23 -04:00
2017-04-30 01:26:34 -04:00
2017-04-03 15:18:16 -07:00
2016-10-01 07:32:32 +02:00
2016-10-27 16:16:09 -04:00
2017-03-25 20:11:19 -07:00
2016-11-18 17:23:17 +00:00
2017-04-24 12:35:56 -04:00
2017-02-03 15:21:21 -05:00
2017-01-10 14:05:11 -05:00
2017-04-27 16:34:29 -04:00
2016-07-25 10:55:39 -07:00
2017-04-24 12:46:00 -04:00
2016-12-10 23:29:11 -05:00
2016-08-22 16:25:15 -07:00
2017-04-21 13:21:30 -04:00
2017-02-22 16:09:04 -05:00
2017-02-03 15:16:45 -05:00
2017-01-17 15:22:05 -05:00
2016-11-03 15:41:11 -04:00
2016-11-03 15:41:11 -04:00
2016-10-23 19:35:24 -04:00
2017-03-06 14:06:51 +01:00
2017-03-21 15:11:32 +01:00
2017-02-23 10:46:07 -05:00
2017-05-08 17:15:13 -07:00
2017-04-21 13:55:33 -04:00
2017-03-22 14:20:54 -07:00
2016-08-22 16:25:15 -07:00
2017-05-08 19:03:25 -07:00
2017-04-04 22:33:38 +01:00
2017-02-07 18:16:45 +01:00
2017-04-27 17:33:14 +02:00
2017-02-14 22:18:05 -05:00
2016-08-22 16:25:15 -07:00
2017-04-16 10:06:25 -06:00
2017-02-23 10:46:08 -05:00
2016-12-02 10:51:49 -05:00
2016-10-30 19:10:14 -06:00
2016-10-24 08:12:35 -02:00
2017-04-03 11:45:08 -04:00
2016-08-23 16:28:04 -03:00
2016-08-12 16:57:20 -07:00
2017-03-13 15:29:22 -07:00
2017-01-17 14:38:43 -05:00
2017-02-24 17:46:56 -08:00
2017-02-19 18:15:12 -05:00
2017-02-19 18:15:12 -05:00
2017-04-17 09:58:42 -06:00
2017-04-17 09:58:42 -06:00
2017-05-04 15:41:39 -07:00
2017-02-03 15:21:21 -05:00
2016-11-30 10:04:25 -05:00
2017-02-20 11:13:37 -05:00
2017-02-23 21:51:39 +01:00
2017-04-05 07:13:56 -07:00
2017-04-13 13:58:21 -04:00
2016-09-26 15:20:37 -04:00
2016-08-02 19:35:21 -04:00
2016-08-02 19:35:21 -04:00
2017-04-26 23:17:39 +02:00
2017-02-03 14:35:43 +13:00
2017-04-20 09:54:24 +02:00
2017-04-24 13:53:25 -04:00
2017-03-09 13:22:28 -08:00
2017-05-08 19:03:25 -07:00
2017-04-28 10:23:19 -05:00
2017-05-05 11:36:44 -07:00
2017-05-02 15:33:54 -04:00
2017-03-15 15:20:27 -07:00
2016-09-27 21:52:00 -04:00
2016-09-27 21:52:00 -04:00
2017-03-17 15:10:49 +09:00
2017-01-24 13:44:28 -05:00
2017-02-23 10:55:08 -05:00
2016-08-02 19:35:31 -04:00
2017-01-18 10:43:15 -08:00
2017-03-28 22:32:42 -07:00
2017-04-03 14:52:35 -07:00
2017-02-14 19:47:16 -07:00
2016-11-09 20:40:06 -05:00
2017-01-16 14:47:21 -05:00
2017-02-23 10:55:08 -05:00
2017-02-23 10:55:08 -05:00
2017-01-12 11:51:25 +01:00
2017-02-10 15:13:26 +01:00
2017-04-10 12:34:01 -03:00
2017-01-09 16:07:41 -05:00
2017-01-09 16:07:38 -05:00
2017-04-24 14:27:17 -04:00
2016-10-31 10:56:47 -04:00
2017-04-26 21:19:05 -04:00
2017-04-12 12:23:37 -05:00
2016-09-20 18:12:38 +05:30
2017-04-21 15:59:52 -04:00
2017-02-18 21:44:59 -08:00
2017-01-29 19:17:23 -05:00
2017-01-10 18:31:55 -08:00
2016-08-26 21:38:41 -07:00
2017-01-20 12:10:17 -05:00
2016-12-16 00:13:39 +02:00
2016-11-22 12:07:02 +01:00
2017-02-02 21:58:02 -05:00
2017-03-09 17:01:09 -08:00
2016-11-16 16:16:08 -02:00
2016-11-16 15:13:18 -02:00
2017-03-31 12:55:06 +02:00
2017-03-31 12:55:09 +02:00
2016-12-16 00:13:38 +02:00
2017-04-14 22:54:01 -03:00
2016-08-01 21:44:52 +03:00
2016-12-16 00:13:32 +02:00
2016-12-16 00:13:32 +02:00
2017-02-27 16:31:23 +02:00
2017-04-11 00:28:41 +03:00
2016-12-16 00:13:41 +02:00
2016-08-09 13:42:38 +03:00
2017-04-24 12:35:56 -04:00
2016-11-28 01:31:31 +02:00
2017-04-14 10:06:10 +02:00