Subject: Re: CVS commit: src/sys/secmodel/bsd44
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Elad Efrat <elad@NetBSD.org>
List: tech-kern
Date: 10/12/2006 11:00:21
YAMAMOTO Takashi wrote:
>> Module Name:	src
>> Committed By:	elad
>> Date:		Thu Oct 12 00:19:10 UTC 2006
>>
>> Modified Files:
>> 	src/sys/secmodel/bsd44: secmodel_bsd44_securelevel.c
>>
>> Log Message:
>> For raw disk requests, in case we don't have a vnode/device, use a
>> generic policy: always allow reading, allow writing in securelevel < 1
>> only.
>>
>>
>> To generate a diff of this commit:
>> cvs rdiff -r1.7 -r1.8 src/sys/secmodel/bsd44/secmodel_bsd44_securelevel.c
>>
>> Please note that diffs are not public domain; they are subject to the
>> copyright notices on the relevant files.
> 
> is it for (a few instances of) bounds_check_with_label?

Originally it's for drivers that allow raw access to disk (and memory)
but don't have vnode/device references; if it fits for more stuff then
yeah. For now it's just a place-holder (hence, no documentation update).

-e.

-- 
Elad Efrat