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

/freebsd-current/usr.sbin/jail/
H A Djailp.h170 TAILQ_HEAD(cfjails, cfjail);
173 struct cfjail { struct
174 TAILQ_ENTRY(cfjail) tq;
180 struct cfjail *cfparent;
197 struct cfjail *j[2];
209 extern int create_jail(struct cfjail *j);
210 extern void failed(struct cfjail *j);
211 extern void jail_note(const struct cfjail *j, const char *fmt, ...);
212 extern void jail_warnx(const struct cfjail *j, const char *fmt, ...);
214 extern int next_command(struct cfjail *
[all...]
H A Dstate.c41 static void dep_add(struct cfjail *from, struct cfjail *to, unsigned flags);
44 static struct cfjail *find_jail(const char *name);
45 static struct cfjail *running_jail(const char *name, int flags);
47 static struct cfjail **jails_byname;
56 struct cfjail *j, *dj;
86 jails_byname = emalloc(njails * sizeof(struct cfjail *));
90 qsort(jails_byname, njails, sizeof(struct cfjail *), cmp_jailptr);
155 dep_check(struct cfjail *j)
158 struct cfjail *d
[all...]
H A Djailparse.y41 static struct cfjail *current_jail;
42 static struct cfjail *global_jail;
75 struct cfjail *j = current_jail;
98 struct cfjail *j = add_jail();
H A Dcommand.c61 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,
103 next_command(struct cfjail *j)
180 finish_command(struct cfjail *
[all...]
H A Djail.c61 static void clear_persist(struct cfjail *j);
62 static int update_jail(struct cfjail *j);
63 static int rdtun_params(struct cfjail *j, int dofail);
64 static void running_jid(struct cfjail *j);
65 static void jail_quoted_warnx(const struct cfjail *j, const char *name_msg,
67 static int jailparam_set_note(const struct cfjail *j, struct jailparam *jp,
69 static void print_jail(FILE *fp, struct cfjail *j, int oldcl, int running);
154 struct cfjail *j;
558 failed(struct cfjail *j)
606 jail_note(const struct cfjail *
[all...]
H A Dconfig.c135 struct cfjail *j, *tj, *wj;
333 struct cfjail *
336 struct cfjail *j;
338 j = emalloc(sizeof(struct cfjail));
339 memset(j, 0, sizeof(struct cfjail));
352 add_param(struct cfjail *j, const struct cfparam *p, enum intparam ipnum,
517 check_intparams(struct cfjail *j)
747 import_params(struct cfjail *j)

Completed in 183 milliseconds