summaryrefslogtreecommitdiff
path: root/plugins/sudoers/gram.y
Commit message (Expand)AuthorAgeFilesLines
* Move sudoers search path to struct sudoers_parser_config.Todd C. Miller2023-05-081-14/+14
* Add struct sudoers_parser_config and pass it to init_parser().Todd C. Miller2023-05-081-12/+50
* Rename init_parser_ext() to init_parser() and remove old wrapper.Todd C. Miller2023-05-021-8/+2
* Add reset_parser() and use in place of init_parser(NULL).Todd C. Miller2023-05-021-0/+6
* Support adminconfdir for relative include paths in sudoers.Todd C. Miller2023-05-021-5/+15
* Warn about ignored files in sudoers.d in visudo.Todd C. Miller2023-03-201-3/+3
* Replace sudoers_warnings with sudoers_verbose.Todd C. Miller2023-03-201-5/+11
* Split push_include() into push_include() and push_includedir().Todd C. Miller2023-03-201-2/+2
* Add per-source innetgr function pointer and use it in netgr_matches().Todd C. Miller2023-03-081-1/+3
* Move handling of the "list" pseudo-command from lexer to parser.Todd C. Miller2023-02-281-0/+21
* Recover from missing include file unless error_recovery is disabled.Todd C. Miller2023-02-091-10/+7
* Back out unintended change in last commit.Todd C. Miller2022-09-061-2/+1
* It is possibble for sudoerserrorf() to be called with a NULL format.Todd C. Miller2022-09-061-1/+2
* Fix a few whitespace issues.Todd C. Miller2022-07-091-6/+6
* Add additional PVS-studio suppression comments for generated code.Todd C. Miller2022-07-081-2/+6
* Make sudo pass -Wwrite-stringsTodd C. Miller2022-06-281-6/+10
* Make sudo pass -Wmissing-prototypesTodd C. Miller2022-06-271-3/+3
* init_options: initialize apparmor_profile to NULLTodd C. Miller2022-05-271-0/+3
* Add an APPARMOR_PROFILE user spec option to sudoerskernelmethod2022-05-231-0/+19
* Fix off-by-one when storing line number in userspec.Todd C. Miller2022-03-101-1/+2
* Add a hook for sudoers parse errors (including defaults and aliases).Todd C. Miller2022-03-101-29/+10
* Preserve the column and error message when there is a syntax error.Todd C. Miller2022-03-061-2/+19
* Clear sudoers_errstr after it is used.Todd C. Miller2022-02-101-4/+7
* add_defaults: add defs == NULL check to quiet coverity false positiveTodd C. Miller2021-12-181-0/+3
* add_defaults: defs can never be NULLTodd C. Miller2021-12-171-31/+29
* Add reference counting to Defaults bindings.Todd C. Miller2021-11-201-16/+26
* init_parse_tree() now takes ownership of lhost and shost, if any.Todd C. Miller2021-11-191-2/+6
* Add sudoers_parse_tree_list, a tail queue of struct sudoers_parse_tree.Todd C. Miller2021-11-111-0/+1
* Add the ability to filter/match by command via the -m option.Todd C. Miller2021-09-241-0/+62
* Limit paths for command, cwd and chroot to PATH_MAX bytes.Todd C. Miller2021-09-191-0/+12
* Remove conditional include of alloca.h, we don't define HAVE_ALLOCA_H.Todd C. Miller2021-09-031-3/+0
* Always allocate a struct sudo_command for the command, even for ALL.Todd C. Miller2021-08-181-9/+7
* Add "intercept" Defaults setting to allow interception of sub-commands.Todd C. Miller2021-08-091-1/+11
* Move reference-counted string code from sudoers to libsudo_util.Todd C. Miller2021-04-061-9/+9
* The lexer now sets an error string before returning ERROR.Todd C. Miller2021-02-081-9/+6
* Go back to storing the last error file/line in sudoerserrorf().Todd C. Miller2021-02-081-3/+6
* Add missing return statement when NO_LEAKS is not defined.Todd C. Miller2021-02-071-1/+3
* Don't free the alias name in alias_add() if the alias already exists.Todd C. Miller2021-02-031-8/+8
* Remove options from the leak list before freeing them.Todd C. Miller2021-02-031-0/+6
* Got back to calling alias_free() on alias_add() failure.Todd C. Miller2021-02-021-8/+8
* Plug a few more parser leaks.Todd C. Miller2021-02-011-6/+6
* Make parser_leak_remove(type, NULL) a no-op.Todd C. Miller2021-02-011-2/+4
* Move new_member_all to ldap_util.c, it is only used by ldap/sssd.Todd C. Miller2021-01-311-10/+0
* Add garbage collection to the sudoers parser to clean up on error.Todd C. Miller2021-02-011-11/+344
* Suppress PVS Studio false positives.Todd C. Miller2021-01-061-0/+4
* Plug a memory leak in sudoerserrorf().Todd C. Miller2021-01-061-1/+3
* Quiet a few harmless cppcheck warnings.Todd C. Miller2021-01-061-1/+1
* Change alias_add() to return bool and set errno on failure.Todd C. Miller2020-12-021-20/+22
* Add sudoerserrorf(), a printf-style yyerror() function.Todd C. Miller2020-11-141-15/+38
* Introduce new_member_all() for code that doesn't include gram.h.Todd C. Miller2020-11-101-0/+10