Created attachment 185835 [details] patch file Update to 1.8.21.
Bryan, Can you please validate the fix you did still works with this patch?
Please use this instead for the SIGINFO handling: https://people.freebsd.org/~bdrewery/patch-src_exec__nopty.c The patch in the bug would work fix the problem, but it does not behave the same as the original patch. This version will not forward a ^T but it will properly forward a kill -INFO (not from ^T). Yes, the patch is simpler now; only 1 hunk is needed.
Created attachment 185858 [details] updated patch file Update patch to replace files/patch-src_exec__nopty.c with the one provided in comment #2. So please commit attached patch instead of original one.
A commit references this bug: Author: garga Date: Tue Aug 29 10:30:34 UTC 2017 New revision: 448901 URL: https://svnweb.freebsd.org/changeset/ports/448901 Log: - Update security/sudo to 1.8.21 PR: 221874 Submitted by: Yasuhiro KIMURA <yasu@utahime.org> bdrewery (SIGINFO fix) Sponsored by: Rubicon Communications, LLC (Netgate) Changes: head/security/sudo/Makefile head/security/sudo/distinfo head/security/sudo/files/patch-src_exec__nopty.c head/security/sudo/pkg-plist
FYI, I opened a bug upstream and sent the patch https://bugzilla.sudo.ws/show_bug.cgi?id=796