From: Heiko Carstens Date: Tue, 31 Jul 2012 14:15:36 +0000 (+0200) Subject: samples/seccomp: fix endianness bug in LO_ARG define X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~32^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de4bb3b9c788ea5504dfe094e34d831e8395075d;p=pandora-kernel.git 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 Acked-by: Kees Cook Signed-off-by: James Morris --- Reading git-diff-tree failed