Alexei Starovoitov dd066823db bpf/verifier: disallow pointer subtraction
Subtraction of pointers was accidentally allowed for unpriv programs
by commit 82abbf8d2fc4. Revert that part of commit.

Fixes: 82abbf8d2fc4 ("bpf: do not allow root to mangle valid pointers")
Reported-by: Jann Horn <jannh@google.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-09-12 23:30:02 +02:00
..
2018-06-12 16:19:22 -07:00
2018-08-20 18:32:00 -07:00
\n
2018-08-17 09:41:28 -07:00
2018-08-15 10:46:54 -07:00
2018-04-27 14:34:51 +02:00
2018-01-05 18:43:00 +11:00
2018-07-21 10:43:12 -05:00
2018-06-08 17:21:52 -07:00
2018-06-06 16:34:00 -07:00
2018-07-03 09:20:44 +02:00
2018-06-07 16:56:28 -04:00