Skip to content

haconiwa/mruby-apparmor

Repository files navigation

mruby-apparmor Build Status

A mruby gem to access libapparmor API

install by mrbgems

  • add conf.gem line to build_config.rb
MRuby::Build.new do |conf|

  # ... (snip) ...

  conf.gem :github => 'haconiwa/mruby-apparmor'
end

example

profile_name = "haconiwa-foobar"
AppArmor.change_profile(profile_name)

## if you want to apply profile on container:
AppArmor.change_onexec(profile_name)
exec "/bin/bash"

License

AppArmor is under LGPL. mruby-apparmor itself is under the MIT License:

  • see LICENSE file

About

A mruby gem to access libapparmor API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published