Module supple.sandbox

Running code in sandboxes

This module is used by the sandbox code itself to start running sandboxed Lua.

The only entry point is invoked by the sandbox C wrapper during startup. From here the sandbox locks itself down and then begins to listen for work to do.

You should only need to interact with this module if you are writing your own Supple wrapper binary to use instead of the provided wrapper.

Functions

run () Start the sandbox running

This routine is invoked by the sandbox wrapper C code and starts the sandbox running.



Functions

run ()
Start the sandbox running

This routine is invoked by the sandbox wrapper C code and starts the sandbox running. Approximately it locks the sandbox down, including various limits such as chroot, rlimits, dropping privileges, and seccomp mode if available. Then it begins the main RPC loop for the sandbox.

generated by LDoc 1.4.6 Last updated 2022-04-25 14:03:04