Modernize architectures and generate seccomp policy for all architectures supported by host OS
Fixes #19
@happyCoder92 @robertswiecki please review it and merge! This fixes a CVE used in many CTFs and also allows using nsjail as a Linux container replacement in fully rootless mode.
Hi! Are you still going to work on this one? Seems there are more users requesting it and it would be nice to merge it soon :)
Hi! Yes, I noticed the request! Let me wrap around Android ASB & get back to it this weekend.
Hi! I had a while to work on it and just commited multi-arch support. It still needs to be integrated with nsjail and perhaps exposed in new language constructs. Also I did not add x32 syscalls yet :)
Just a note: we're thankful someone's looked into this and it would be a shame if it stalled. Compiler Explorer relies on nsjail and thus kafel and we currently can't enable seccomp stuff without this PR. which would be nice!
oh! OK @mattgodbolt I will resurrect this.