summaryrefslogtreecommitdiff
path: root/src
Commit message (Expand)AuthorAgeFilesLines
* Use a "%s" format instead of using a translated string as the format.Todd C. Miller2023-05-031-2/+2
* Add adminconfdir and --enable-adminconf to set it.Todd C. Miller2023-05-021-1/+2
* Convert config file paths to colon-separated path list.Todd C. Miller2023-05-021-1/+1
* disable_coredump: only change the soft limit, leave the hard limit as-isTodd C. Miller2023-04-241-20/+32
* More accurate description of what happens for "sudo -b".Todd C. Miller2023-04-191-1/+5
* Avoid calling isatty()/ttyname() on std{in,out,err} if not a char dev.Todd C. Miller2023-04-185-26/+59
* Better support for "sudo -b" when running the command in a pty.Todd C. Miller2023-04-191-6/+20
* Hard-code usage() and help() for an 80-column terminal.Todd C. Miller2023-04-182-58/+76
* Move CONFIGURE_ARGS from sudo_usage.h.in to config.h.in.Todd C. Miller2023-04-182-6/+0
* get_user_info: call sudo_get_ttysize() even if no /dev/ttyTodd C. Miller2023-04-171-6/+6
* Get the tty size using stdout, not stderr, when printing help output.Todd C. Miller2023-04-161-1/+1
* get_user_info: pass sudo_get_ttysize() the fd of /dev/tty, not stderr.Todd C. Miller2023-04-161-1/+1
* Add an fd argument to sudo_get_ttysize() instead of always using stderr.Todd C. Miller2023-04-162-3/+3
* Make struct {command,user}_details pointers const where possible.Todd C. Miller2023-03-2713-65/+68
* Make user_details private to main.Todd C. Miller2023-03-274-31/+37
* Make user_details private to sudo.c.Todd C. Miller2023-03-279-79/+97
* Use sudo_get_ttysize() in help() and usage().Todd C. Miller2023-03-251-6/+10
* Store submitcwd (from user_details) in struct command_details.Todd C. Miller2023-03-253-9/+11
* utmp_fill: user is now always non-NULL, no need for user_details.Todd C. Miller2023-03-241-6/+1
* Remove list_user global.Todd C. Miller2023-03-243-6/+8
* No need to declare tgetpass_flags, it is already in sudo.h.Todd C. Miller2023-03-241-3/+1
* No need for sudo_mode to be global anymore.Todd C. Miller2023-03-241-2/+1
* Make command_details private to main().Todd C. Miller2023-03-241-10/+10
* Make iobufs private to exec_iolog.c.Todd C. Miller2023-03-244-15/+13
* Remove ttymode and its associated values.Todd C. Miller2023-03-241-5/+0
* Move ptyname to struct exec_closureTodd C. Miller2023-03-245-38/+37
* Move pty_make_controlling() to exec_monitor.c where it is called.Todd C. Miller2023-03-243-25/+26
* Eliminate utmp_user global, just use the value in struct command details.Todd C. Miller2023-03-242-8/+6
* Replace tty_mode global with term_raw flag in struct exec_closure.Todd C. Miller2023-03-244-57/+93
* Register pty cleanup function in exec_pty(), not exec_cmnd_pty().Todd C. Miller2023-03-243-6/+9
* Make ttyblock private to exec_iolog.cTodd C. Miller2023-03-241-2/+3
* exec_pty.c: move foreground flag to struct exec_closure.Todd C. Miller2023-03-232-15/+16
* On resume, always sync the pty terminal settings with /dev/tty.Todd C. Miller2023-03-231-25/+27
* Quiet compiler warnings on systems where pid_t is not an int.Todd C. Miller2023-03-221-3/+3
* exec_pty: always copy the terminal settings from /dev/tty the pty.Todd C. Miller2023-03-221-13/+19
* check_foreground: use SFD_LEADER not SFD_FOLLOWER (which was closed).Todd C. Miller2023-03-221-3/+4
* suspend_sudo_pty: fix cut & pasto in last commit to catch SIGCONT.Todd C. Miller2023-03-221-4/+3
* Catch SIGCONT and restore terminal settings on resume from SIGSTOP.Todd C. Miller2023-03-211-35/+75
* Only convert a signal number to a name if we are going to use it.Todd C. Miller2023-03-212-41/+56
* Move updating of the window size back to the main sudo process.Todd C. Miller2023-03-213-66/+18
* Use LIBPROTOBUF_C and LIBUTIL variables and use them.Todd C. Miller2023-03-161-6/+7
* Sync non-intercept version of intercept_cleanup() declaration.Todd C. Miller2023-03-101-1/+1
* Plug a memory leak with ptrace-based intercept.Todd C. Miller2023-03-103-3/+9
* Plug memory leak when log_subcmds is enabled.Todd C. Miller2023-03-101-2/+3
* write_callback: only enable /dev/tty reader if the command is runningTodd C. Miller2023-03-012-7/+15
* Fix --enable-static-sudoers, broken in sudo 1.9.13.Todd C. Miller2023-02-231-0/+2
* Run the editor in its own process group.Todd C. Miller2023-02-218-248/+9
* ptrace_intercept_execve: preserve old argv[0] after policy check.Todd C. Miller2023-02-211-4/+28
* Handle "locale -a" returning both C.UTF-8 and C.utf8.Todd C. Miller2023-02-151-1/+1
* Add some missing files to the clean and distclean targets.Todd C. Miller2023-02-151-1/+2