Bug 282976 - security/sudo: Update to 1.9.16p2
Summary: security/sudo: Update to 1.9.16p2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-25 21:10 UTC by Cy Schubert
Modified: 2024-12-23 16:58 UTC (History)
0 users

See Also:
garga: maintainer-feedback+


Attachments
Patch (1.82 KB, patch)
2024-11-25 21:12 UTC, Cy Schubert
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)