jail: add support for ARM architecture
authorDaniel Golle <daniel@makrotopia.org>
Sun, 17 May 2015 02:33:02 +0000 (04:33 +0200)
committerJohn Crispin <blogic@openwrt.org>
Thu, 14 May 2015 03:23:09 +0000 (05:23 +0200)
commit91f0891f7e2641330305f16d4738c4fb064c7449
tree9b1798bbbdaf171262f38b14ceabcd09e187b2f7
parent11fa67184a3a26830223158345b1e7764bd33710
jail: add support for ARM architecture

SECCOMP_FILTER isn't supported on ARM OABI.
Thus enable seccomp support in jail only for EABI.
thumb might work as well as it apparently implies EABI, but
yet doesn't set __ARM_EABI__.

The REG_SYSCALL macro seems to be an unused left-over.
However, it's defined for other architectures as well.

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