Make find_path() a little more generic by not checking def_foo
variables inside it. Instead, pass in ignore_dot as a function argument.
This commit is contained in:
@@ -199,7 +199,7 @@ struct passwd;
|
||||
char *sudo_goodpath(const char *, struct stat *);
|
||||
|
||||
/* findpath.c */
|
||||
int find_path(char *, char **, struct stat *, char *);
|
||||
int find_path(char *, char **, struct stat *, char *, int);
|
||||
|
||||
/* check.c */
|
||||
int check_user(int, int);
|
||||
|
Reference in New Issue
Block a user