Bug 796 - sudo sending a 2nd SIGINFO on ^T to processes
sudo sending a 2nd SIGINFO on ^T to processes
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.8.20
PC FreeBSD
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-29 04:38 MDT by Renato Botelho
Modified: 2017-09-01 16:59 MDT (History)
0 users

See Also:


Attachments
patch (535 bytes, application/octet-stream)
2017-08-29 04:38 MDT, Renato Botelho
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Botelho 2017-08-29 04:38:32 MDT
Created attachment 500 [details]
patch

Fix sudo sending a 2nd SIGINFO on ^T to processes, which is already handled by the kernel sending it to the entire controlling terminal's process group.

This patch has been written by Bryan Drewery <bdrewery@FreeBSD.org> and added on FreeBSD's ports tree since sudo 1.8.20 and is working as expected. Here is a link to patch's history on FreeBSD ports svn repo

https://svnweb.freebsd.org/ports/head/security/sudo/files/patch-src_exec__nopty.c?view=log&pathrev=448901
Comment 1 Todd C. Miller 2017-08-29 08:59:00 MDT
Thanks, I've committed a variant of this diff as https://www.sudo.ws/repos/sudo/rev/29603b0a4315

It will be included in sudo 1.8.22
Comment 2 Todd C. Miller 2017-09-01 16:59:08 MDT
Fixed in sudo 1.8.21p1