[pypy-dev] Sandboxing pypy

Søren Laursen sl at scrooge.dk
Fri Mar 26 14:29:19 CET 2010


Thanks for all the replies.

I have started to look at vfs.py, I will join IRC later today.

Regards,

Søren

-----Oprindelig meddelelse-----
Fra: Armin Rigo [mailto:arigo at tunes.org]
Sendt: 24. marts 2010 10:39
Til: Søren Laursen
Cc: pypy-dev at codespeak.net
Emne: Re: [pypy-dev] Sandboxing pypy

Hi,

On Tue, Mar 23, 2010 at 10:46:50PM +0100, Søren Laursen wrote:
> I have tried different things using the pypy_interact.py (just love the
> ?timeout parameter J), looked at code but have not been able to read
files
> or write files using the pypy_interact.py.

You get indeed a VFS (virtual file system) which is read-only so far.
You can read any file from the virtual path "/tmp/xxx" if you start
pypy_interact.py with the option "--tmp=some/path".  There is no support
yet to allow writes.  It could be easily added by editing vfs.py.


A bientot,

Armin.



More information about the Pypy-dev mailing list