Subject: Re: CVS commit: src/sys/secmodel/bsd44
To: None <elad@NetBSD.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 11/02/2006 12:15:34
> > > kauth_authorize_device(cred, KAUTH_DEVICE_RAWIO, r/w/passthru, vp, some_data);
> > > 
> > > i wonder what's the status of devvp branch.
> > 
> > we can only do the above if we can gurantee the vp at all times... for
> > now I think we should pass dev:
> > 
> > kauth_authorize_device(cred, KAUTH_DEVICE_RAWIO, r/w/passthru, dev,
> >     some_data);
> > 
> > (and we note in the man-page listeners for that request should use
> > iskmemdev())
> 
> seems fine to me.

sorry, it wasn't fine actually.
it can't work because dev_t has separate namespaces for
block and char devices.

YAMAMOTO Takashi