More scaffolding for dealing with multiple sudoers files:
o init_parser() now takes a path used to populate the sudoers global o the sudoers global is used to print the correct file in yyerror() o when switching to a new sudoers file, perserve old file name and line number
This commit is contained in:
1
parse.h
1
parse.h
@@ -101,5 +101,6 @@ int hostname_matches __P((char *, char *, char *));
|
||||
int netgr_matches __P((char *, char *, char *, char *));
|
||||
int userpw_matches __P((char *, char *, struct passwd *));
|
||||
int usergr_matches __P((char *, char *, struct passwd *));
|
||||
void init_parser __P((char *));
|
||||
|
||||
#endif /* _SUDO_PARSE_H */
|
||||
|
Reference in New Issue
Block a user