linux/samples/seccomp
Heiko Carstens de4bb3b9c7 samples/seccomp: fix endianness bug in LO_ARG define
The LO_ARG define needs to consider endianness also for 32 bit builds.

The "bpf_fancy" test case didn't work on s390 in 32 bit and compat mode
because the LO_ARG define resulted in a BPF program which read the upper
halve of the 64 bit system call arguments instead of the lower halves.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Morris <james.l.morris@oracle.com>
2012-08-03 14:27:40 +10:00
..
.gitignore samples: seccomp: add .gitignore for untracked executables 2012-06-29 00:54:17 +10:00
Makefile
bpf-direct.c
bpf-fancy.c
bpf-helper.c
bpf-helper.h samples/seccomp: fix endianness bug in LO_ARG define 2012-08-03 14:27:40 +10:00
dropper.c