Lines Matching refs:cfjail
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,
103 next_command(struct cfjail *j) in next_command()
180 finish_command(struct cfjail *j) in finish_command()
182 struct cfjail *rj; in finish_command()
226 struct cfjail *
232 struct cfjail *j; in next_proc()
287 run_command(struct cfjail *j) in run_command()
837 add_proc(struct cfjail *j, pid_t pid) in add_proc()
840 struct cfjail *tj; in add_proc()
882 clear_procs(struct cfjail *j) in clear_procs()
903 static struct cfjail *
906 struct cfjail *j; in find_proc()
923 term_procs(struct cfjail *j) in term_procs()
971 get_user_info(struct cfjail *j, const char *username, in get_user_info()
1008 check_path(struct cfjail *j, const char *pname, const char *path, int isfile, in check_path()