Debian Codegraph @

pypy/doc/config/translation.sandbox.txt

raw
1 Generate a special fully-sandboxed executable.
2
3 The fully-sandboxed executable cannot be run directly, but
4 only as a subprocess of an outer "controlling" process. The
5 sandboxed process is "safe" in the sense that it doesn't do
6 any library or system call - instead, whenever it would like
7 to perform such an operation, it marshals the operation name
8 and the arguments to its stdout and it waits for the
9 marshalled result on its stdin. This controller process must
10 handle these operation requests, in any way it likes, allowing
11 full virtualization.
12
13 For examples of controller processes, see
14 ``pypy/translator/sandbox/interact.py`` and
15 ``pypy/translator/sandbox/pypy_interact.py``.