Bwrap

Framework to create commands for bwrap.

For now this is tailored to my needs, so this may or may not be of any use.

Installation

Add this line to your application's Gemfile:

gem "bwrap"

And then execute:

$ bundle

Or install it yourself as:

$ gem install bwrap

Running system must have following executables present:

  • scanelf (from pax-utils)

Additionally, for musl executables and libraries, following are necessary:

  • ldd

Additionally, for glibc executables and libraries, following are necessary:

  • llvm-readelf

Usage

For now this is under ongoing development, though semantic versioning will apply.

There is few different modules, especially execution stuff probably should be moved to its own gem.

Please see API documentation for usage instructions.

Contributing

Bug reports and pull requests are welcome at https://git.sr.ht/~smar/ruby-bwrap.

Gerrit instance https://gerrit.smar.fi/admin/repos/ruby-bwrap can also be used.