develooper Front page | perl.perl6.internals | Postings from February 2006

Re: OS.pmc patch to add 'ls'

Thread Previous | Thread Next
From:
Joshua Hoblitt
Date:
February 13, 2006 16:27
Subject:
Re: OS.pmc patch to add 'ls'
Message ID:
20060214002813.GA27390@ifa.hawaii.edu
On Mon, Feb 13, 2006 at 08:09:45PM -0000, Jonathan Worthington wrote:
> "Joshua Hoblitt" <jhoblitt@ifa.hawaii.edu> wrote:
> >I think your slightly confusing OPs and PMCs.  Presumably the *dir
> >functionality would be implemented as OP codes
> >
> I thought The Plan was to have all the I/O stuff done with PMCs rather than 
> ops in the end.  There's no real benefit in having ops - the delays that 
> you get through doing I/O make the time difference between an op and a PMC 
> method call insignificant.  Security wise, the PMCs can be implemented to 
> ensure that sufficient privs are available to perform the operation being 
> requested of them.

That implies enforcing a security policy on two different fronts.

> I agree with Chris on minimising the amount of places we do security stuff 
> as far as is sensible.  However, I would think that the interface for doing 
> sandboxing style stuff would allow restriction of certain types of 
> operation (e.g. filesystem access) rather than individual operations 
> though, so as to help eliminate the moving target issue.

It's pretty clear from this thread that we are underspeced on both the
I/O and security subsystems.  Hopefully Chip can chime in on this...

-J

--


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About