Re: Is it okay to fork() in a sudo i/o plugin?
"Todd C. Miller" <[email protected]>
| Newsgroups | gmane.comp.tools.sudo.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 04 Feb 2019 22:07:41 -0600, Bryan Christ wrote: > That certainly a reasonable approach. At what point is it safe for the > plugin to fork()? It should be safe to do so in either the open function or in one of the logging functions. All of the I/O plugin functions are called from the same process context. - todd ____________________________________________________________ sudo-users mailing list <[email protected]> For list information, options, or to unsubscribe, visit: https://www.sudo.ws/mailman/listinfo/sudo-users