Re: [PATCH] NFSD: Don't hold unrefcounted creds over call tonfsd_setuser()

From: J. Bruce Fields
Date: Thu Jul 02 2009 - 19:10:12 EST


On Thu, Jul 02, 2009 at 10:31:33PM +0100, David Howells wrote:
> J. Bruce Fields <bfields@xxxxxxxxxxxx> wrote:
>
> > Got it, thanks. How easy is it to hit this case? (Just wondering
> > whether to submit for stable.)
>
> Actually, one of the problems with it is that the file is opened using the old
> creds, cached across the call to nfsd_setuser().

Oops, got it. That answers that question....

--b.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/