Subject: Re: CVS commit: src/sys/secmodel/bsd44
To: YAMAMOTO Takashi <>
From: Elad Efrat <>
List: tech-kern
Date: 10/30/2006 00:51:46
YAMAMOTO Takashi wrote:
>>> and, if possible, the acutal user request (eg. mly_user_command).
>> I assume mly_user_command is a kauth(9) enum? (like KAUTH_REQ_DEVICE_..)
>> if yes, do we care about 3rd-party device drivers that can use such
>> requests? in such cases we don't have the actual user request.
> i meant to pass a driver-specific structure via void *.
> bsd44 listeners will just ignore it.
> a listener can investigate the arg only when it knows the driver.

okay. we have kauth_authorize_device_tty(). do you want to add a
kauth_authorize_device() or a different routine? if so, any preference
for a prototype?


Elad Efrat