Bug 282976

Summary: security/sudo: Update to 1.9.16p2
Product: Ports & Packages Reporter: Cy Schubert <cy>
Component: Individual Port(s)Assignee: Renato Botelho <garga>
Status: Closed FIXED    
Severity: Affects Only Me Flags: garga: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch none

Description Cy Schubert freebsd_committer freebsd_triage 2024-11-25 21:10:45 UTC
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.
Comment 1 Cy Schubert freebsd_committer freebsd_triage 2024-11-25 21:12:10 UTC
Created attachment 255457 [details]
Patch

Upload patch.
Comment 2 Renato Botelho freebsd_committer freebsd_triage 2024-11-26 19:37:07 UTC
Approved.  Thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-11-26 19:56:50 UTC
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(-)