2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00

Commit Graph

  • 9263e19f7e iolog_adjust_delay: avoid division by zero main Todd C. Miller 2025-08-21 12:40:28 -06:00
  • 2df8f2ca9e Fix typo introduced in last commit Todd C. Miller 2025-08-14 17:17:07 -06:00
  • c37eb11db8 direct_exec_allowed: don't allow for intercept or log_subcmds Todd C. Miller 2025-08-07 20:36:59 -06:00
  • f8ea98938b exec_ptrace: kill process if architecture does not match Todd C. Miller 2025-08-06 20:06:52 -06:00
  • 839be2a417 Update to protobuf-c 1.5.2 Todd C. Miller 2025-08-14 14:08:53 -06:00
  • d1b48c651c Merge sudo 1.9.17p2 from branch 'main' into sudo-1.9 v1.9.17p2 Todd C. Miller 2025-07-24 20:22:10 -06:00
  • aa2498e46f Fix check for which man page type to use with nroff Todd C. Miller 2025-07-24 10:37:01 -06:00
  • f73162df35 client_msg_cb: make warning match the function that failed Todd C. Miller 2025-07-24 07:37:29 -06:00
  • f0e1a5ca38 Sudo 1.9.17p2 Todd C. Miller 2025-07-23 20:02:05 -06:00
  • 26a1a7529a digest_matches: plug fd leak on snprinf() failure Todd C. Miller 2025-07-23 20:00:42 -06:00
  • 55d3c99c4e Add a way to override pp_rpm_arch when building rpms Todd C. Miller 2025-07-21 20:24:42 -06:00
  • 2dc10cfbd3 Fix check for which man page type to use with nroff Todd C. Miller 2025-07-21 09:04:59 -06:00
  • 8e7e0e23fa ts_write: call lseek after fruncate on short write Todd C. Miller 2025-07-21 07:41:11 -06:00
  • fac2a49e75 ptrace_readv_string: quiet sign-compare warning Todd C. Miller 2025-07-20 09:45:26 -06:00
  • 2e93eabedf ptrace_readv_string: properly handle reads of more than one page Todd C. Miller 2025-07-20 09:36:39 -06:00
  • fb208d383a revoke_pty: use killpg() not kill() to send HUP to the process group Todd C. Miller 2025-07-14 16:55:34 -06:00
  • e5d953f339 Don't assume RHEL major version is only a single digit Todd C. Miller 2025-07-08 19:17:57 -06:00
  • 1c254b3304 visudo: create temporary file as mod 0600 not 0700 Todd C. Miller 2025-07-08 07:49:07 -06:00
  • cb4e267341 We now build sudo releases from git, not mercurial Todd C. Miller 2025-06-30 08:57:06 -06:00
  • a377770c6d Sudo 1.9.17p1 v1.9.17p1 Todd C. Miller 2025-06-28 10:30:36 -06:00
  • 23aff2b372 Sudo 1.9.17p1 Todd C. Miller 2025-06-28 10:30:36 -06:00
  • 7a6ee32a93 Deprecate chroot support Todd C. Miller 2025-06-07 18:33:51 -06:00
  • fffcc07c53 Revert pivot_root and go back to prepending the new root directory. Todd C. Miller 2025-04-06 08:28:46 -06:00
  • f8ff956e17 Only allow a remote host to be specified when listing privileges. Todd C. Miller 2025-04-01 09:24:51 -06:00
  • bc88e5cbd3 Deprecate chroot support Todd C. Miller 2025-06-07 18:33:51 -06:00
  • fdafc2ceb3 Revert pivot_root and go back to prepending the new root directory. Todd C. Miller 2025-04-06 08:28:46 -06:00
  • d530367828 Only allow a remote host to be specified when listing privileges. Todd C. Miller 2025-04-01 09:24:51 -06:00
  • 51c3488100 Add missing tests Todd C. Miller 2025-06-21 08:45:17 -06:00
  • 84e7ca6752 Merge sudo 1.9.17 from branch 'main' into sudo-1.9 v1.9.17 sudo-1.9 Todd C. Miller 2025-06-17 20:31:12 -06:00
  • 5fad16bda2 Properly check against errors against fwrite Rose 2025-06-17 13:44:54 -04:00
  • e6cf241b03 No more mercurial repo, point to git.sudo.ws instead. Todd C. Miller 2025-06-12 11:16:10 -06:00
  • fd6aa49321 fix typo Todd C. Miller 2025-06-09 07:45:59 -06:00
  • 04a8117500 Updated translations from translationproject.org Todd C. Miller 2025-06-08 16:36:24 -06:00
  • d861a00a67 Update .pot files for 1.9.17 Todd C. Miller 2025-06-08 16:30:26 -06:00
  • cb3355e9d4 Sudo 1.9.17 Todd C. Miller 2025-06-08 16:29:52 -06:00
  • 60fff3a3da Add Cantonese translation from GitHub Todd C. Miller 2025-06-08 16:46:39 -06:00
  • 57f67f67ff Fix typo Todd C. Miller 2025-06-08 15:24:07 -06:00
  • 666d8c1757 yue translation cantonese-sra 2025-03-13 09:31:18 +00:00
  • ee1383e311 Fix typo Todd C. Miller 2025-06-08 07:27:59 -06:00
  • afd01d856b Add SUDO_TTY environment variable if the user has a tty Todd C. Miller 2025-06-07 16:20:37 -06:00
  • a925829e60 Restrict-qualify a few methods that are listed as such Rose 2025-06-04 12:45:15 -04:00
  • 77fe6ae51e Use TCSAFLUSH not TCSADRAIN when disabling echo Todd C. Miller 2025-05-22 08:38:29 -06:00
  • 82ebb1eaa9 log_failure: only display "command not found" if running a command Todd C. Miller 2025-04-30 10:49:25 -06:00
  • 111fd83fb8 Use constant-time string compare for plain text password check. Todd C. Miller 2025-03-30 14:56:28 -06:00
  • a294a8be00 check_user: refactor the "running as self" check into its own function Todd C. Miller 2025-04-30 13:54:36 -06:00
  • 28837b2af1 check_user: restrict the special case for running as the invoking user Todd C. Miller 2025-04-30 11:07:37 -06:00
  • 9c98d0f4a5 Regenerate man format manuals Todd C. Miller 2025-04-28 12:26:52 -06:00
  • b876e3bbf3 Sync "Path intercept" comment with default sudo.conf and man page Todd C. Miller 2025-04-28 12:25:43 -06:00
  • d173674c2f Fix typo and update Protocol Buffers URL in sudo_logsrv.proto man page peppapig450 2025-04-28 09:26:44 -07:00
  • 334e23183d Fix minor grammar errors in sudoers.ldap man page peppapig450 2025-04-28 09:09:24 -07:00
  • aa5d4b2b40 Fix typo: 'Please not report' → 'Please do not report' in documentation peppapig450 2025-04-28 09:00:17 -07:00
  • 2f4d6bfe25 Fix minor grammar and spelling issues in sudo.conf man page peppapig450 2025-04-28 08:49:42 -07:00
  • ce0ec8ddca Free existing contents of struct eventlog before overwriting. Todd C. Miller 2025-03-31 20:11:34 -06:00
  • e8695d536c Use a pointer to end of buffer instead of tracking space left. Todd C. Miller 2025-03-31 08:50:12 -06:00
  • 627ae4b09c Ignore scripts/check_man Todd C. Miller 2025-03-09 10:42:17 -06:00
  • fce45b2767 Make ignore_dot the default Todd C. Miller 2025-03-08 08:34:11 -07:00
  • ff3c2185f1 Dash/hyphen related style fixes from check_man. Todd C. Miller 2025-02-27 19:37:48 -07:00
  • eae70b05cf Add hyphen/dash checks Todd C. Miller 2025-02-27 17:51:45 -07:00
  • c2e77b7133 Add check_man script to check for man page warnings. Todd C. Miller 2025-02-24 20:33:52 -07:00
  • 38c0bdd7ad Sync sudo.DEBUG descriptions with comments in sudo_debug.h. Todd C. Miller 2025-02-26 19:11:25 -07:00
  • cf1b87c71d Sync sed scripts that add back troff conditionals. Todd C. Miller 2025-02-23 09:09:26 -07:00
  • 4d331e6026 Fix some style warnings from "mandoc -Tlint" Todd C. Miller 2025-02-22 15:41:22 -07:00
  • 3ba525a348 Style fixes from Bjarni Ingi Gislason. Todd C. Miller 2025-02-22 15:31:21 -07:00
  • b04386f631 Most Defaults entries are applied in order. Todd C. Miller 2025-02-14 09:29:37 -07:00
  • 1bdead1bb4 Only use system includes for mksiglist and mksigname. Todd C. Miller 2025-02-11 09:08:04 -07:00
  • b0d94331c0 No longer need to define NSIG for cppcheck. Todd C. Miller 2025-02-11 08:42:57 -07:00
  • 1032030f85 Split the code to fill an exec closure into two functions. Todd C. Miller 2025-02-08 16:12:06 -07:00
  • a4a999b5eb Run groff with warnings enabled for "make lint". Todd C. Miller 2025-02-10 19:39:29 -07:00
  • 257a078a85 Prefer POSIX getpgrp() to getpgid(0). Todd C. Miller 2025-02-10 08:40:45 -07:00
  • 8feff96d37 regen Todd C. Miller 2025-02-10 08:40:27 -07:00
  • d3293c528a Make DIAGNOSTICS descriptions indent consistent with sudo.mdoc.in. Todd C. Miller 2025-02-10 08:38:45 -07:00
  • dc0f16dbc4 Avoid using ".It Li foo ..." in sudo manuals. Todd C. Miller 2025-02-09 14:32:53 -07:00
  • aad69105d8 Fix warnings from groff -mandoc -t -K utf8 -rF0 -rHY=0 -ww -b -z Todd C. Miller 2025-02-09 13:56:37 -07:00
  • a9e1120791 Only package parent directories that match a non-default prefix Todd C. Miller 2025-02-08 10:24:11 -07:00
  • 43f16c1d24 regen Todd C. Miller 2025-02-08 09:12:34 -07:00
  • 4bb4c6a154 Add lib/util/login_max.c Todd C. Miller 2025-02-08 09:12:16 -07:00
  • 0be9f0f947 Initialize exec closure before calling sudo_fatal_callback_register() Todd C. Miller 2025-01-21 09:32:30 -07:00
  • 6fc816d90b Fix a typo in the description of exec_pty() Mateusz Piotrowski 2025-01-17 18:16:03 +01:00
  • a5bca1b94c Quiet a -Wconversion warning. Todd C. Miller 2025-01-16 20:04:41 -07:00
  • a27b989c9c Check for negative return value of read, write and lseek instead of -1 Todd C. Miller 2025-01-14 14:07:52 -07:00
  • 6df96785ff Switch to upload-sarif v3 Todd C. Miller 2025-01-16 11:12:34 -07:00
  • 7cc0a0cc45 Update codeql GitHub actions to a non-deprecated version. Todd C. Miller 2025-01-16 10:19:02 -07:00
  • c5b86f06e8 Use upload-artifact@v4, v3 is deprecated. Todd C. Miller 2025-01-16 09:49:58 -07:00
  • fd3ff3a0bd Check the controlling tty to determine if a tty belongs to the user. Todd C. Miller 2025-01-15 20:00:46 -07:00
  • a3cd820d21 Move LOGIN_NAME_MAX compat define to login_max.c Todd C. Miller 2025-01-15 08:57:05 -07:00
  • e3753309fe copy_string: use an end pointer to quiet a coverity warning Todd C. Miller 2025-01-14 14:02:48 -07:00
  • af4634a1c1 expand_include: initialize dst_size to 1 to quiet coverity warning Todd C. Miller 2025-01-14 13:25:59 -07:00
  • 34a3c84de1 digest_matches: don't initialize digest_len to -1 Todd C. Miller 2025-01-14 12:53:26 -07:00
  • 0fdbb6e2ee Check for sysconf() negative return value instead of -1 Todd C. Miller 2025-01-14 12:51:28 -07:00
  • 405070d482 Add sudo_login_name_max() and sudo_host_name_max() Todd C. Miller 2025-01-14 12:43:13 -07:00
  • 7c075c100d Add an OFF_T_MAX define Todd C. Miller 2025-01-14 11:38:07 -07:00
  • 30729312c2 Update copyright year Todd C. Miller 2025-01-15 08:38:22 -07:00
  • 5794e511da Fix getting ppid in get_process_ttyname for Linux. Ignacy Gawędzki 2025-01-15 11:58:27 +01:00
  • 01b1410d61 Format T_TIMESPEC as "%d.%d" instead of "%.1f" Todd C. Miller 2025-01-05 14:11:18 -07:00
  • 7c121ff834 Replace tab with space vayers 2024-12-22 22:31:29 -05:00
  • 103af8cb27 Newer macOS deprecates -force_flat_namespace for -flat_namespace Todd C. Miller 2025-01-04 09:47:15 -07:00
  • 46831d6ef2 build_pkgs: adapt to work with a git repo Todd C. Miller 2025-01-04 08:20:59 -07:00
  • b52ef1fbbb Remove unused -b option Todd C. Miller 2025-01-04 07:45:07 -07:00
  • 355c82a1d5 Update to libtool 2.5.3 Todd C. Miller 2025-01-03 17:35:34 -07:00
  • e13163ce0a Add markdown mode for use with the sudo web site. Todd C. Miller 2025-01-01 15:07:57 -07:00