Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2002 22:49:42 -0400 (EDT)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Robert Watson <rwatson@FreeBSD.org>, <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/security/mac_biba mac_biba.c src/sys/security/mac_mls mac_mls.c
Message-ID:  <20020921224816.K43954-100000@mail.chesapeake.net>
In-Reply-To: <20020922065517.R11613-100000@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 22 Sep 2002, Bruce Evans wrote:

> On Sat, 21 Sep 2002, Robert Watson wrote:
>
> > rwatson     2002/09/21 11:29:38 PDT
> >
> >   Modified files:
> >     sys/security/mac_biba mac_biba.c
> >     sys/security/mac_mls mac_mls.c
> >   Log:
> >   As INVARIANTS isn't supported for code that loads only as a kernel
> >   module and is not linked into the base system, two KASSERT's rotted.
> >   Fix them by fixing variable names.  It would be really nice if
>                                                            ^^^^ nasty
> >   opt_global.h was used when building modules as part of a buildkernel.
> >
> >   Obtained from:  TrustedBSD Project
> >   Sponsored by:   DARPA, Network Associates Laboratories
>
> Modules are bad enough without making ones that only work with 1 kernel.
>
> Bruce
>

What if we were to allow modules to build in KASSERTS that were only
enabled if the kernel they were loaded into supported it?  That seems like
the right solution here.

Jeff


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020921224816.K43954-100000>