Add Ruby wrapper around libseccomp.

Add a Ruby wrapper library around the libseccomp library. Seccomp is
used to restrict the syscalls a program can make. See comments in
app/logical/seccomp.rb for further details.

This is not used for anything yet. It's simply adding part of the
sandboxing infrastructure for later use.
This commit is contained in:
evazion
2021-11-11 08:52:50 -06:00
parent 3f9a85a828
commit 908df7921f
4 changed files with 536 additions and 0 deletions

View File

@@ -55,6 +55,7 @@ gem "rack-timeout", require: "rack/timeout/base"
gem "parallel"
gem "pry-byebug"
gem "pry-rails"
gem "ffi"
group :development do
gem 'rubocop', require: false