cvs commit: src/sys/security/mac mac_net.c

Robert Watson rwatson at FreeBSD.org
Wed Dec 20 12:40:30 PST 2006


rwatson     2006-12-20 20:40:29 UTC

  FreeBSD src repository

  Modified files:
    sys/security/mac     mac_net.c 
  Log:
  Externalize local stack copy of the ifnet label, rather than the copy on
  the ifnet itself.  The stack copy has been made while holding the mutex
  protecting ifnet labels, so copying from the ifnet copy could result in
  an inconsistent version being copied out.
  
  Reported by:    Todd.Miller at sparta.com
  Obtained from:  TrustedBSD Project
  MFC after:      3 weeks
  
  Revision  Changes    Path
  1.121     +2 -2      src/sys/security/mac/mac_net.c


More information about the cvs-src mailing list