diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2012-07-31 16:15:36 +0200 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2012-08-03 14:27:40 +1000 |
commit | de4bb3b9c788ea5504dfe094e34d831e8395075d (patch) | |
tree | e957a72a3c695d442838b2fef184da8ad5acc193 /include/linux/ptrace.h | |
parent | 663728418e3494f8e4a82f5d1b2f23c22d11be35 (diff) | |
download | talos-obmc-linux-de4bb3b9c788ea5504dfe094e34d831e8395075d.tar.gz talos-obmc-linux-de4bb3b9c788ea5504dfe094e34d831e8395075d.zip |
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>
Diffstat (limited to 'include/linux/ptrace.h')
0 files changed, 0 insertions, 0 deletions