diff options
Diffstat (limited to 'pkgs/games/build-support/build-sandbox/src/setup.h')
-rw-r--r-- | pkgs/games/build-support/build-sandbox/src/setup.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/games/build-support/build-sandbox/src/setup.h b/pkgs/games/build-support/build-sandbox/src/setup.h new file mode 100644 index 00000000..19cc6ca2 --- /dev/null +++ b/pkgs/games/build-support/build-sandbox/src/setup.h @@ -0,0 +1,12 @@ +#ifndef _SETUP_H +#define _SETUP_H + +#include <stdbool.h> +#include <sys/types.h> + +bool write_maps(pid_t parent_pid); +bool bind_mount(const char *path, bool restricted, bool resolve); +bool extra_mount(const char *path); +bool setup_sandbox(void); + +#endif |