jail: respect byte order when setting AUDIT_ARCH
authorDaniel Golle <daniel@makrotopia.org>
Sun, 17 May 2015 02:33:29 +0000 (04:33 +0200)
committerJohn Crispin <blogic@openwrt.org>
Thu, 14 May 2015 03:23:30 +0000 (05:23 +0200)
commit4574087e5ab6e5bb2758b4da85d0916ff5bd2329
tree6a2d04ca9d96e4329224eff61776003ef59166c1
parent91f0891f7e2641330305f16d4738c4fb064c7449
jail: respect byte order when setting AUDIT_ARCH

AUDIT_ARCH on ARM and MIPS differs depending on the byte order.
Thus set AUDIT_ARCH to the respective endian-specific variants.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
jail/seccomp-bpf.h