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

Robert Watson rwatson at
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 
  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
  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-all mailing list