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/08/2006 07:55:14
> obvious change after previous, attached is a diff to replace securelevel
> references in various device drivers with kauth calls.
>
> I think they're correct, but please review at least the tc/stic.c one.
seems sane to me. but i don't claim i understand these drivers.
a minor nit:
i think it's better to do
error = kauth_foo();
if (error)
return error;
rather than
error = kauth_foo();
if (error)
return EPERM;
YAMAMOTO Takashi