blob: 6d9dd0a381ad9821bc6df61504aa2692fe27a1fe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef _SETUP_H
#define _SETUP_H
#include <stdbool.h>
#include <sys/types.h>
#include "nix-query.h"
char *get_mount_target(const char *path);
bool write_maps(pid_t parent_pid);
bool bind_mount(const char *path, bool rdonly, bool restricted, bool resolve);
bool extra_mount(const char *path, bool is_required);
bool mount_from_path_var(struct query_state *qs, const char *name);
bool setup_sandbox(void);
#endif
|