Re: pfind_locked(pid) fails when in a jail?

From: Ian Lepore <ian_at_freebsd.org>
Date: Tue, 17 Oct 2017 16:41:59 -0600
On Tue, 2017-10-17 at 21:26 +0000, Rick Macklem wrote:
> Mateusz Guzik wrote:
> [lots of stuff snipped]
> > 
> > I proposed registration of per-process callbacks, not filtering.
> > The code would just walk the list/table/whatever and call everything on
> > it - they asked for it.
> Yep, this would work for the NFSv4 client.
> Way back when, all I did in OpenBSD was add a function pointer to "struct proc"
> that was normally NULL, but set to a function in the NFS client when an NFSv4
> Open was done for the process.
> 
> I suspect you'd want something like a linked list, so that multiple "users" could register callback functions upon exit or ...
> 
> rick

FYI, I'm dropping out of this conversation, not because I'm out of
opinions, but for some reason I'm not getting the emails from Mateusz
that you're replying to, and now so much context is snipped that I
don't know what's being said by whom.

-- Ian
Received on Tue Oct 17 2017 - 20:42:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:13 UTC