]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
samples/seccomp: fix 64-bit comparison macros
authorMathias Svensson <idolf@google.com>
Fri, 6 Jan 2017 21:32:39 +0000 (13:32 -0800)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 5 Jun 2017 20:16:47 +0000 (21:16 +0100)
commitd7c195dcb274cc643b4b81b10ee57f582fc0265b
treede061f654bcb171e732ea8229a5ea5d400a5094e
parent48360510977057ec2eaf3de78f485759aedfc381
samples/seccomp: fix 64-bit comparison macros

commit 916cafdc95843fb9af5fd5f83ca499d75473d107 upstream.

There were some bugs in the JNE64 and JLT64 comparision macros. This fixes
them, improves comments, and cleans up the file while we are at it.

Reported-by: Stephen Röttger <sroettger@google.com>
Signed-off-by: Mathias Svensson <idolf@google.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
samples/seccomp/bpf-helper.h