Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Aug 2002 19:00:22 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_mac.c src/sys/sys mac_policy.h
Message-ID:  <200208120200.g7C20MVs006291@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2002/08/11 19:00:22 PDT

  Modified files:
    sys/kern             kern_mac.c 
    sys/sys              mac_policy.h 
  Log:
  Declare a module service "kernel_mac_support" when MAC support is
  enabled and the kernel provides the MAC registration and entry point
  service.  Declare a dependency on that module service for any
  MAC module registered using mac_policy.h.  For now, hard code the
  version as 1, but once we've come up with a versioning policy, we'll
  move to a #define of some sort.  In the mean time, this will prevent
  loading a MAC module when 'options MAC' isn't present, which (due to
  a bug in the kernel linker) can result if the MAC module is preloaded
  via loader.conf.
  
  This particular evil recommended by:    peter
  Obtained from:  TrustedBSD Project
  Sponsored by:   DARPA, NAI LAbs
  
  Revision  Changes    Path
  1.5       +8 -0      src/sys/kern/kern_mac.c
  1.4       +1 -0      src/sys/sys/mac_policy.h

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?200208120200.g7C20MVs006291>