This wraps the tame(2) system call for ruby.  Examples:

Require the library:

  require 'tame'

To allow read only access to the file system:

  Tame.tame(:rpath)

To allow read/write filesystem access, but not network access:

  Tame.tame(:rpath, :wpath, :cpath)

To allow inet/unix socket access and DNS queries, but not
filesystem access:

  Tame.tame(:inet, :unix, :dns)

Written today by me. Tested on amd64.  OKs?

Thanks,
Jeremy

Attachment: tame.tar.gz
Description: application/tar-gz

Reply via email to