This is based on the ruby-tame port I worked on at c2k15, which apparently was too early. Using this, you can access pledge(2) from ruby via:
require 'pledge' Pledge.pledge('rpath') # stdio added automatically, as ruby needs it Source code at https://github.com/jeremyevans/ruby-pledge OKs for import? Thanks, Jeremy
ruby-pledge.tar.gz
Description: application/tar-gz