Jeremy Evans writes:
> On 11/04 11:19, Jeremie Courreges-Anglas wrote:
>> Jeremy Evans writes:
>>
>> > 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'
>> > Ple
On 11/04 11:19, Jeremie Courreges-Anglas wrote:
> Jeremy Evans writes:
>
> > 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
Jeremy Evans writes:
> 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
^^
On Thu, Nov 03, 2016 at 04:40:00PM -0700, Jeremy Evans wrote:
> 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
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 f