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 _______________________________________________ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"