Lines Matching refs:cfjail
62 struct cfjail *j;
70 static int run_command(struct cfjail *j);
71 static int add_proc(struct cfjail *j, pid_t pid);
72 static void clear_procs(struct cfjail *j);
73 static struct cfjail *find_proc(pid_t pid);
74 static int term_procs(struct cfjail *j);
75 static int get_user_info(struct cfjail *j, const char *username,
77 static int check_path(struct cfjail *j, const char *pname, const char *path,
104 next_command(struct cfjail *j) in next_command()
181 finish_command(struct cfjail *j) in finish_command()
183 struct cfjail *rj; in finish_command()
227 struct cfjail *
233 struct cfjail *j; in next_proc()
288 run_command(struct cfjail *j) in run_command()
789 add_proc(struct cfjail *j, pid_t pid) in add_proc()
792 struct cfjail *tj; in add_proc()
834 clear_procs(struct cfjail *j) in clear_procs()
855 static struct cfjail *
858 struct cfjail *j; in find_proc()
875 term_procs(struct cfjail *j) in term_procs()
923 get_user_info(struct cfjail *j, const char *username, in get_user_info()
960 check_path(struct cfjail *j, const char *pname, const char *path, int isfile, in check_path()