Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2002 07:27:44 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys mac.h mac_policy.h
Message-ID:  <200210221427.g9MERibt001306@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2002/10/22 07:27:44 PDT

  Modified files:
    sys/sys              mac.h mac_policy.h 
  Log:
  Revised APIs for user process label management; the existing APIs relied
  on all label parsing occuring in userland, and knowledge of the loaded
  policies in the user libraries.  This revision of the API pushes that
  parsing into the kernel, avoiding the need for shared library support
  of policies in userland, permitting statically linked binaries (such
  as ls, ps, and ifconfig) to use MAC labels.  In these API revisions,
  high level parsing of the MAC label is done in the MAC Framework,
  and interpretation of label elements is delegated to the MAC policy
  modules.  This permits modules to export zero or more label elements
  to user space if desired, and support them in the manner they want
  and with the semantics they want.  This is believed to be the final
  revision of this interface: from the perspective of user applications,
  the API has actually not changed, although the ABI has.
  
  Approved by:    re
  Obtained from:  TrustedBSD Project
  Sponsored by:   DARPA, Network Associates Laboratories
  
  Revision  Changes    Path
  1.16      +61 -89    src/sys/sys/mac.h
  1.17      +49 -10    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?200210221427.g9MERibt001306>