cvs commit: src/sys/kern kern_mac.c

Robert Watson rwatson at FreeBSD.org
Wed Nov 12 14:19:17 PST 2003


rwatson     2003/11/12 14:19:15 PST

  FreeBSD src repository

  Modified files:
    sys/kern             kern_mac.c 
  Log:
  Mark __mac_get_pid() as MPSAFE in the comment, as it runs without
  Giant and is also MPSAFE.
  
  Push Giant further down into __mac_get_fd() and __mac_set_fd(),
  grabbing it only for constrained regions dealing with VFS, and
  dropping it entirely for operations related to labeling of pipes.
  
  Obtained from:  TrustedBSD Project
  Sponsored by:   DARPA, Network Associates Laboratories
  
  Revision  Changes    Path
  1.106     +15 -37    src/sys/kern/kern_mac.c


More information about the cvs-src mailing list