Move check_user_* functions to check_util.c so testsudoers can use them.
This commit is contained in:
@@ -296,9 +296,13 @@ int find_path(const char *infile, char **outfile, struct stat *sbp,
|
||||
|
||||
/* check.c */
|
||||
int check_user(int validate, int mode);
|
||||
bool check_user_shell(const struct passwd *pw);
|
||||
bool user_is_exempt(void);
|
||||
|
||||
/* check_util.c */
|
||||
bool check_user_shell(const struct passwd *pw);
|
||||
int check_user_runchroot(void);
|
||||
int check_user_runcwd(void);
|
||||
|
||||
/* prompt.c */
|
||||
char *expand_prompt(const char *old_prompt, const char *auth_user);
|
||||
|
||||
|
Reference in New Issue
Block a user