Re: Plugins and signal handlers

"Todd C. Miller" <[email protected]>
Newsgroups gmane.comp.tools.sudo.user
Message-ID <[email protected]>
On Tue, 19 Mar 2019 15:31:50 -0600, "Todd C. Miller" wrote:

> That would probably cause problems.  Sudo sets SIGPIPE to SIG_IGN
> and expects to receive EPIPE when writing to a closed pipe.

I should qualify this.  If you saved/restore the old SIGPIPE handler
on entry/exit from your plugin functions it will not interfere with
sudo.

 - todd
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.