Subject: Re: Upcoming security model abstraction
To: YAMAMOTO Takashi <>
From: Elad Efrat <>
List: tech-kern
Date: 09/05/2006 17:14:07
YAMAMOTO Takashi wrote:

> i'd suggest something like the following:
> files.bsd44
> 	defflag secmodel_bsd44 : secmodel_bsd44_logic
> 	file secmodel/bsd44/secmodel_bsd44.c		secmodel_bsd44
> 	file secmodel/bsd44/secmodel_bsd44_foo.c	secmodel_bsd44_logic
> 	file secmodel/bsd44/secmodel_bsd44_bar.c	secmodel_bsd44_logic
> files.overlay
> 	defflag secmodel_overlay : secmodel_bsd44_logic
> 	file secmodel/overlay/secmodel_overlay.c	secmodel_overlay
> secmodel_bsd44.c only contains "bsd44" version of secmodel_start().
> secmodel_overlay.c contains "overlay" version of secmodel_start().

At the moment, secmodel_bsd44.c contains not just the start routine, but
also other elements (like the sysctl stuff, that are NOT needed when we
use the overlay model, or the initialization stuff, that IS needed

So we will have to have a secmodel_bsd44_start.c with just the start
routine, and leave secmodel_bsd44.c with the rest of the stuff, or
something like that. No?


Elad Efrat