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

Bryan Christ bryan.christ at gmail.com
Tue Feb 5 07:30:17 MST 2019


I assumed the open callback would be the right place but am happy for the
confirmation.  Ty!

On Tue, Feb 5, 2019 at 8:14 AM Todd C. Miller <Todd.Miller at sudo.ws> wrote:

> 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
>


-- 
Bryan
<><


More information about the sudo-users mailing list