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)