On 09/12/2018 11:06 PM, Alexei Starovoitov wrote: > 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 <ja...@google.com> > Acked-by: Daniel Borkmann <dan...@iogearbox.net> > Signed-off-by: Alexei Starovoitov <a...@kernel.org>
Applied to bpf, thanks Alexei!