Add support for seccomp
Seccomp results in Linux sandboxing jq, which will make bugs harder to exploit.
Coverage remained the same at 85.333% when pulling e9efc0ac8707cebd6cccf7736a6eb1d99c101595 on wmark:seccomp into 0b8218515eabf1a967eba0dbcc7a0e5ae031a509 on stedolan:master.
We've used jq plenty with this patch in, and didn't encounter any issues.
What a strange Travis CI failure...
Rebased. Tested with glibc 2.25 and 2.26.
Travis doesn't ship with libseccomp-dev. The errors are not mine.
Coverage increased (+0.4%) to 80.272% when pulling 1b310de0854d96b97dbdcaf971a0cbc5a43cd84c on wmark:seccomp into 7b81a836c31500e685d043729259affa8b670a87 on stedolan:master.
Coverage increased (+0.4%) to 80.272% when pulling 19670364559975a86ab129b1c1cc32e0aedd2321 on wmark:seccomp into 7b81a836c31500e685d043729259affa8b670a87 on stedolan:master.
Anything I can do to move this forward?