vn971 / rua

Build tool for Arch Linux providing control, review and jailed build options
GNU General Public License v3.0
424 stars 42 forks source link

Generate seccomp.bpf during build #167

Closed bbx0 closed 2 years ago

bbx0 commented 3 years ago

This is a proposal for a runtime independent handling of the seccomp.bpf file. This allows support for additional architectures like aarch64 or arm (see #126).

How does it work?

How can it be tested / reviewed?

Remarks

I hope this helps. In case another solution fits better, I'm happy to revise.

vn971 commented 2 years ago

Hey @bbx0, this is actually a super-useful MR, sorry for only starting on that now. I'm looking at the code now, thinking on how to integrate it. Some things that I need to check are:

No action required for now, just wanted to let know that I've started on this

vn971 commented 2 years ago

@bbx0 Strange, I thought I commented here? Anyway, thanks a lot for the PR! I've made few changes to e.g. disable a compilation warning and some style fixes, it's on master now and released as well. Thanks!

bbx0 commented 2 years ago

Thanks a lot for pulling this in! Glad it was helpful. Running already the new release on my rp4 (aarch64). :)