Commit | Line | Data |
---|---|---|
e09e518e GM |
1 | #include <glib.h> |
2 | ||
3 | ||
4 | struct rootjail | |
5 | { | |
6 | int pid; | |
7 | GString *newroot; | |
8 | struct rootjailContext _fsm; | |
9 | }; | |
10 | ||
11 | struct rootjail * chrootjail_Init(); | |
12 | ||
13 | void rootjail_savepid(struct rootjail *, int); | |
14 | ||
15 | void rootjail_savenewroot(struct rootjail *, char *); | |
16 | ||
17 | void rootjail_destroyfsm(struct rootjail *); | |
18 | ||
19 | void rootjail_warning(struct rootjail *); | |
20 | ||
21 | int checknewdir(char *); | |
22 | ||
23 | int removefsm(struct rootjail *); | |
24 |