diff options
author | Todd C. Miller <Todd.Miller@sudo.ws> | 2023-05-09 14:16:17 -0600 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@sudo.ws> | 2023-05-09 14:16:17 -0600 |
commit | c74709e961750dc2634d2b5d860e1bcbd73aa9c0 (patch) | |
tree | 55ab69e2371a779bee8344a9fc468c7524f35a65 | |
parent | 4a3e615b5a4f5d33a07d977a67530519da05313f (diff) | |
download | sudo-c74709e961750dc2634d2b5d860e1bcbd73aa9c0.tar.gz |
check_fill: sudoers_strict() is now a function, not a global variable
-rw-r--r-- | plugins/sudoers/regress/parser/check_fill.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/sudoers/regress/parser/check_fill.c b/plugins/sudoers/regress/parser/check_fill.c index 9176fe8ea..06ca6ded1 100644 --- a/plugins/sudoers/regress/parser/check_fill.c +++ b/plugins/sudoers/regress/parser/check_fill.c @@ -44,7 +44,6 @@ sudo_dso_public int main(int argc, char *argv[]); */ YYSTYPE sudoerslval; -bool sudoers_strict; struct fill_test { const char *input; @@ -192,6 +191,13 @@ sudoerserror(const char *s) /* STUB */ bool +sudoers_strict(void) +{ + return false; +} + +/* STUB */ +bool parser_leak_add(enum parser_leak_types type, void *v) { return true; |