pfind_locked(pid) fails when in a jail?
Ian Lepore
ian at freebsd.org
Tue Oct 17 22:42:07 UTC 2017
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
More information about the freebsd-current
mailing list