[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.



-----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


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
> 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,


More information about the Pypy-dev mailing list