Subject: Re: CVS commit: src/sys/secmodel/bsd44
To: None <elad@NetBSD.org>
From: YAMAMOTO Takashi <email@example.com>
Date: 11/03/2006 00:58:54
> > sorry, it wasn't fine actually.
> > it can't work because dev_t has separate namespaces for
> > block and char devices.
> hence the "please review" in the unified vchr/vblk handling. :)
> what do you suggest? KAUTH_DEVICE_RAWIO_BLOCK/CHAR?
again, my preference is something like this. :-)
int kauth_authorize_device_specopen(cred, vp, r/w);
int kauth_authorize_device_passthru(cred, dev_t, void *);