summaryrefslogtreecommitdiff
path: root/plugins/sudoers/visudo.c
Commit message (Expand)AuthorAgeFilesLines
* Work around a macOS a kernel bug where tcsetpgrp() does not restart.HEADmasterTodd C. Miller2023-05-111-0/+7
* run_command: run editor in foreground if visudo is the foreground processTodd C. Miller2023-05-111-61/+83
* Accept carriage return for EOL in addition to newline.Todd C. Miller2023-05-111-3/+3
* Rename parser_conf -> sudoers_conf in all but the parser itself.Todd C. Miller2023-05-091-13/+13
* Move sudoers search path to struct sudoers_parser_config.Todd C. Miller2023-05-081-3/+4
* Add struct sudoers_parser_config and pass it to init_parser().Todd C. Miller2023-05-081-28/+32
* Rename init_parser_ext() to init_parser() and remove old wrapper.Todd C. Miller2023-05-021-3/+3
* Make sudoers_file private to policy.c and visudo.c.Todd C. Miller2023-05-021-10/+11
* Support adminconfdir for relative include paths in sudoers.Todd C. Miller2023-05-021-4/+4
* Track the destination sudoers path for each parsed file.Todd C. Miller2023-05-021-54/+74
* Substitute for _PATH_SUDO* variables in pathnames.h.Todd C. Miller2023-02-081-1/+1
* Support sudoers_file being a colon-separated path of files.Todd C. Miller2023-05-021-38/+100
* Quiet compiler warnings on systems where pid_t is not an int.Todd C. Miller2023-03-221-4/+4
* Silence "used uninitialized" false positives with older gcc versions.Todd C. Miller2023-03-221-2/+2
* visudo: restore controlling terminal after running the editor.Todd C. Miller2023-03-211-20/+85
* Replace sudoers_warnings with sudoers_verbose.Todd C. Miller2023-03-201-4/+4
* Fix potential double free for rules that include a CHROOT= option.Todd C. Miller2023-02-211-1/+3
* visudo: quiet a compiler warning on Solaris 10.Todd C. Miller2023-02-221-4/+7
* Check tcsetpgrp() return value.Todd C. Miller2023-02-211-2/+5
* Run the editor in its own process group.Todd C. Miller2023-02-211-8/+24
* sudoedit: do not permit editor arguments to include "--" (CVE-2023-22809)Todd C. Miller2023-01-121-2/+6
* Place C23 attributes before keywords in function declarations.Todd C. Miller2022-12-011-2/+2
* check_syntax(): Remove duplicate calls to init_defaults()modric2022-11-241-2/+0
* Eliminate a few harmless dead stores.Todd C. Miller2022-11-221-1/+1
* Add -I flag to disable editing include files unless there is an error.Todd C. Miller2022-10-041-2/+13
* Move gcc-style __attribute__ macros to config.h.inTodd C. Miller2022-09-071-12/+12
* Add __printf0like to visudo_track_error().Todd C. Miller2022-09-071-1/+1
* visudo.c: add nvim (Neovim) to lineno_editor listCarlo Teubner2022-07-311-0/+1
* If update_defaults() fails, treat it as a parse error.Todd C. Miller2022-07-081-2/+2
* Make sudo pass -Wwrite-stringsTodd C. Miller2022-06-281-11/+11
* Looser owner/permission checks for an uninstalled sudoers file.Todd C. Miller2022-03-111-2/+10
* Add a hook for sudoers parse errors (including defaults and aliases).Todd C. Miller2022-03-101-35/+34
* Preserve the column and error message when there is a syntax error.Todd C. Miller2022-03-061-3/+5
* install_sudoers: fix return value when there is no temp file to installTodd C. Miller2021-11-091-7/+10
* Rename {check,set}_perms variable to {check,set}_mode.Todd C. Miller2021-11-091-9/+9
* visudo: add -O and -P options to check/set owner and permissions.Todd C. Miller2021-11-061-47/+80
* find_editor: remove the env_error argumentTodd C. Miller2021-09-291-1/+1
* Plug memory leak in error path when sudoers cannot be opened.Todd C. Miller2021-07-291-0/+1
* Move reference-counted string code from sudoers to libsudo_util.Todd C. Miller2021-04-061-6/+6
* Move alias checking code out of visudo.c and into check_aliases.c.Todd C. Miller2021-02-231-120/+8
* Use sudo_basename() instead of doing the equivalent manually.Todd C. Miller2021-02-101-10/+3
* Use sudoersrestart() in fuzz_sudoers.cTodd C. Miller2021-02-031-1/+0
* Suppress PVS Studio false positives.Todd C. Miller2021-01-061-1/+1
* Store column number for aliases, defaults and userspecs too.Todd C. Miller2020-11-021-17/+19
* Apply Google inclusive language guidelines.Todd C. Miller2020-10-301-21/+21
* Fix -Wshadow warnings.Todd C. Miller2020-09-251-10/+10
* Fix memory leak on error found by the clang 10.01 analyzer.Todd C. Miller2020-09-031-27/+42
* Remove superfluous "parse error in sudoers near line N" message.Todd C. Miller2020-08-271-9/+1
* Don't override errorfile and errorlineno set by check_aliases().Todd C. Miller2020-08-271-4/+2
* Fix some warnings from pvs-studioTodd C. Miller2020-08-121-9/+11