]> 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)
committerJiri Slaby <jslaby@suse.cz>
Mon, 13 Mar 2017 20:40:31 +0000 (21:40 +0100)
commitcfe74e80a5d26c388267f55cbf82fd562630b993
tree5a3ddf5f240f1b065d76854bcb09938640eab76e
parent05751f20bcfcd4b3372c0204bd0d184b72ed0ad1
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: Jiri Slaby <jslaby@suse.cz>
samples/seccomp/bpf-helper.h