Searched refs:cfjail (Results 1 – 6 of 6) sorted by relevance
| /freebsd-10-stable/usr.sbin/jail/ |
| D | jailp.h | 164 TAILQ_HEAD(cfjails, cfjail); 167 struct cfjail { struct 168 TAILQ_ENTRY(cfjail) tq; 190 struct cfjail *j[2]; argument 197 extern int create_jail(struct cfjail *j); 198 extern void failed(struct cfjail *j); 199 extern void jail_note(const struct cfjail *j, const char *fmt, ...); 200 extern void jail_warnx(const struct cfjail *j, const char *fmt, ...); 202 extern int next_command(struct cfjail *j); 203 extern int finish_command(struct cfjail *j); [all …]
|
| D | state.c | 41 static void dep_add(struct cfjail *from, struct cfjail *to, unsigned flags); 44 static struct cfjail *find_jail(const char *name); 47 static struct cfjail **jails_byname; 56 struct cfjail *j, *dj; in dep_setup() 86 jails_byname = emalloc(njails * sizeof(struct cfjail *)); in dep_setup() 90 qsort(jails_byname, njails, sizeof(struct cfjail *), cmp_jailptr); in dep_setup() 156 dep_check(struct cfjail *j) in dep_check() 159 struct cfjail *dj; in dep_check() 233 dep_done(struct cfjail *j, unsigned flags) in dep_done() 235 struct cfjail *dj; in dep_done() [all …]
|
| D | command.c | 61 struct cfjail *j; 69 static int run_command(struct cfjail *j); 70 static int add_proc(struct cfjail *j, pid_t pid); 71 static void clear_procs(struct cfjail *j); 72 static struct cfjail *find_proc(pid_t pid); 73 static int term_procs(struct cfjail *j); 74 static int get_user_info(struct cfjail *j, const char *username, 76 static int check_path(struct cfjail *j, const char *pname, const char *path, 89 next_command(struct cfjail *j) in next_command() 165 finish_command(struct cfjail *j) in finish_command() [all …]
|
| D | jail.c | 62 static void clear_persist(struct cfjail *j); 63 static int update_jail(struct cfjail *j); 64 static int rdtun_params(struct cfjail *j, int dofail); 65 static void running_jid(struct cfjail *j, int dflag); 66 static void jail_quoted_warnx(const struct cfjail *j, const char *name_msg, 68 static int jailparam_set_note(const struct cfjail *j, struct jailparam *jp, 70 static void print_jail(FILE *fp, struct cfjail *j, int oldcl); 132 struct cfjail *j; in main() 512 failed(struct cfjail *j) in failed() 560 jail_note(const struct cfjail *j, const char *fmt, ...) in jail_note() [all …]
|
| D | config.c | 130 struct cfjail *j, *tj, *wj; in load_config() 276 struct cfjail * 279 struct cfjail *j; in add_jail() 281 j = emalloc(sizeof(struct cfjail)); in add_jail() 282 memset(j, 0, sizeof(struct cfjail)); in add_jail() 295 add_param(struct cfjail *j, const struct cfparam *p, enum intparam ipnum, in add_param() 444 check_intparams(struct cfjail *j) in check_intparams() 674 import_params(struct cfjail *j) in import_params()
|
| D | jailparse.y | 42 struct cfjail *j; 71 struct cfjail *j;
|