Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Oct 2017 16:41:59 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        Rick Macklem <rmacklem@uoguelph.ca>, Mateusz Guzik <mjguzik@gmail.com>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, "fabian.freyer@physik.tu-berlin.de" <fabian.freyer@physik.tu-berlin.de>, "mjoras@freebsd.org" <mjoras@freebsd.org>
Subject:   Re: pfind_locked(pid) fails when in a jail?
Message-ID:  <1508280119.57370.20.camel@freebsd.org>
In-Reply-To: <YTOPR0101MB21721C11403D4131BC06A556DD4C0@YTOPR0101MB2172.CANPRD01.PROD.OUTLOOK.COM>
References:  <YTOPR0101MB2172A4421C7B012A503230D5DD4F0@YTOPR0101MB2172.CANPRD01.PROD.OUTLOOK.COM> <CAGudoHEvDk0mKCmK59sPM7j-Mt279rLZwTwVazX5ktX=7wD-9Q@mail.gmail.com> <1508195986.74236.6.camel@freebsd.org> <20171016233912.7n6rosak5a5tzcbz@mguzik> <YTOPR0101MB21720E11F5490FC3CE568FF6DD4F0@YTOPR0101MB2172.CANPRD01.PROD.OUTLOOK.COM> <1508255488.74236.29.camel@freebsd.org> , <20171017171034.dyo74lrye6ds6ggp@mguzik> <YTOPR0101MB21721C11403D4131BC06A556DD4C0@YTOPR0101MB2172.CANPRD01.PROD.OUTLOOK.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1508280119.57370.20.camel>