Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2009 14:36:20 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        "Bjoern A. Zeeb" <bz@FreeBSD.org>
Cc:        dfr@FreeBSD.org, Dmitry Marakasov <amdmi3@amdmi3.ru>, Michael Moll <kvedulv@kvedulv.de>, Wesley Shields <wxs@FreeBSD.org>, freebsd-current@FreeBSD.org, Jamie Gritton <jamie@FreeBSD.org>
Subject:   Re: Kernel panic when accessing ZFS-Filesystem via NFS
Message-ID:  <Pine.GSO.4.63.0906041433370.23880@muncher.cs.uoguelph.ca>
In-Reply-To: <20090603184215.L12292@maildrop.int.zabbadoz.net>
References:  <20090601182012.GA21543@darkthrone.kvedulv.de> <20090603121307.GA15659@hades.panopticon> <20090603152810.GA21014@atarininja.org> <20090603160945.GC21014@atarininja.org> <20090603184215.L12292@maildrop.int.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 3 Jun 2009, Bjoern A. Zeeb wrote:

>
> I would start looking at svc_getcred() and blame at least the
> AUTH_UNIX case;  end of rpc/svc_auth.c.  This looks like a big NO-NO.
> I am pretty sure I'd also want to audit svc_rpc_gss(), just in case.
>
Oh, just to clarify. Earlier to-day I mentioned that the experimental
server used crdup() of the nfsd's cred. That is only for certain
state recovery cases where it needs a credential to play with. Normally
it uses whatever the sys/rpc layer has provided it, as above.

Again, I have no idea if using crdup() is correct? rick




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