Public API. More...
#include <sys/cdefs.h>
#include <libchannel.h>
Go to the source code of this file.
Typedefs | |
typedef int(* | sandbox_init )(char **, struct channel *) |
Signature of a sandbox initialization function ('main' for sandboxes). |
Functions | |
struct sandbox_code * | sandbox_define_fd (int fd, const char *name) |
Define sandbox code from a file descriptor (executable or library) and a function name. | |
struct sandbox * | sandbox_spawn (struct sandbox_code *code, char **args, struct channel *talkback) |
Spawn a sandbox with a set of arguments and a channel for the sandbox to call back on if necessary. |
Public API.
Definition in file libsandbox.h.