Searched refs:cfjail (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/usr.sbin/jail/
H A Djailp.h167 TAILQ_HEAD(cfjails, cfjail);
170 struct cfjail { struct
171 TAILQ_ENTRY(cfjail) tq;
193 struct cfjail *j[2];
200 extern int create_jail(struct cfjail *j);
201 extern void failed(struct cfjail *j);
202 extern void jail_note(const struct cfjail *j, const char *fmt, ...);
203 extern void jail_warnx(const struct cfjail *j, const char *fmt, ...);
205 extern int next_command(struct cfjail *j);
206 extern int finish_command(struct cfjail *
[all...]
H A Dstate.c43 static void dep_add(struct cfjail *from, struct cfjail *to, unsigned flags);
46 static struct cfjail *find_jail(const char *name);
47 static struct cfjail *running_jail(const char *name, int flags);
49 static struct cfjail **jails_byname;
58 struct cfjail *j, *dj;
88 jails_byname = emalloc(njails * sizeof(struct cfjail *));
92 qsort(jails_byname, njails, sizeof(struct cfjail *), cmp_jailptr);
157 dep_check(struct cfjail *j)
160 struct cfjail *d
[all...]
H A Dcommand.c63 struct cfjail *j;
71 static int run_command(struct cfjail *j);
72 static int add_proc(struct cfjail *j, pid_t pid);
73 static void clear_procs(struct cfjail *j);
74 static struct cfjail *find_proc(pid_t pid);
75 static int term_procs(struct cfjail *j);
76 static int get_user_info(struct cfjail *j, const char *username,
78 static int check_path(struct cfjail *j, const char *pname, const char *path,
91 next_command(struct cfjail *j)
167 finish_command(struct cfjail *
[all...]
H A Djail.c65 static void clear_persist(struct cfjail *j);
66 static int update_jail(struct cfjail *j);
67 static int rdtun_params(struct cfjail *j, int dofail);
68 static void running_jid(struct cfjail *j, int dflag);
69 static void jail_quoted_warnx(const struct cfjail *j, const char *name_msg,
71 static int jailparam_set_note(const struct cfjail *j, struct jailparam *jp,
73 static void print_jail(FILE *fp, struct cfjail *j, int oldcl, int running);
136 struct cfjail *j;
526 failed(struct cfjail *j)
574 jail_note(const struct cfjail *
[all...]
H A Djailparse.y44 struct cfjail *j;
73 struct cfjail *j;
H A Dconfig.c132 struct cfjail *j, *tj, *wj;
278 struct cfjail *
281 struct cfjail *j;
283 j = emalloc(sizeof(struct cfjail));
284 memset(j, 0, sizeof(struct cfjail));
297 add_param(struct cfjail *j, const struct cfparam *p, enum intparam ipnum,
446 check_intparams(struct cfjail *j)
676 import_params(struct cfjail *j)

Completed in 73 milliseconds