linux-sg2042/samples/seccomp
Mathias Svensson 916cafdc95 samples/seccomp: fix 64-bit comparison macros
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>
Cc: stable@vger.kernel.org
Signed-off-by: James Morris <james.l.morris@oracle.com>
2017-01-09 17:22:03 +11:00
..
.gitignore samples: seccomp: add .gitignore for untracked executables 2012-06-29 00:54:17 +10:00
Makefile samples/seccomp: Fix hostprogs variable 2016-11-01 08:57:42 -07:00
bpf-direct.c samples/seccomp: fix dependencies on arch macros 2012-04-19 13:44:06 +10:00
bpf-fancy.c samples/seccomp: improve label helper 2015-02-17 14:34:55 -08:00
bpf-helper.c samples/seccomp: Support programs with >256 instructions 2016-11-01 08:58:17 -07:00
bpf-helper.h samples/seccomp: fix 64-bit comparison macros 2017-01-09 17:22:03 +11:00
dropper.c samples/seccomp: Enable PR_SET_NO_NEW_PRIVS in dropper 2016-11-01 08:58:10 -07:00