Major changes between sudo 1.9.16p2 and 1.9.16p1: * Sudo now passes the terminal device number to the policy plugin even if it cannot resolve it to a path name. This allows sudo to run without warnings in a chroot jail when the terminal device files are not present. GitHub issue #421. * On Linux systems, sudo will now attempt to use the symbolic links in /proc/self/fd/{0,1,2} when resolving the terminal device number. This can allow sudo to map a terminal device to its path name even when /dev/pts is not mounted in a chroot jail. * Fixed compilation errors with gcc and clang in C23 mode. C23 no longer supports functions with unspecified arguments. GitHub issue #420.
Created attachment 255457 [details] Patch Upload patch.
Approved. Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=173db8419680bb418dcdb34ebafadd301e8f84a2 commit 173db8419680bb418dcdb34ebafadd301e8f84a2 Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2024-11-25 21:06:04 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2024-11-26 19:55:59 +0000 security/sudo: Update to 1.9.16p2 Major changes between sudo 1.9.16p2 and 1.9.16p1: * Sudo now passes the terminal device number to the policy plugin even if it cannot resolve it to a path name. This allows sudo to run without warnings in a chroot jail when the terminal device files are not present. GitHub issue #421. * On Linux systems, sudo will now attempt to use the symbolic links in /proc/self/fd/{0,1,2} when resolving the terminal device number. This can allow sudo to map a terminal device to its path name even when /dev/pts is not mounted in a chroot jail. * Fixed compilation errors with gcc and clang in C23 mode. C23 no longer supports functions with unspecified arguments. GitHub issue #420. PR: 282976 Approved by: garga (maintainer) security/sudo/Makefile | 2 +- security/sudo/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)