[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/43615: kauth usage in tmpfs_lookup less than clear
The following reply was made to PR kern/43615; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
Subject: Re: kern/43615: kauth usage in tmpfs_lookup less than clear
Date: Sun, 31 Jul 2016 23:43:03 +0000
On Wed, Jul 14, 2010 at 03:15:01PM +0000, pooka%iki.fi@localhost wrote:
> kauth_authorize_vnode() uses *vpp before tmpfs_alloc_vp()
> in tmpfs_lookup().
There is no such code any more...
> I'm also unsure why the distinction between dvp and vp
> is irrelevant to kauth_authorize_vnode() (cf. VOP_ACCESS)
> and why DELETE/RENAME branches should care about the
> distinction enough to do it both ways.
not sure I follow but the logic present now seems ok to me.
(modulo kauth's wonderful api)
I assume this is because it's been cleaned out in the meantime; can
David A. Holland
Main Index |
Thread Index |