[sudo-users] Is it okay to fork() in a sudo i/o plugin?

Todd C. Miller Todd.Miller at sudo.ws
Tue Feb 5 07:14:42 MST 2019


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


More information about the sudo-users mailing list