From owner-cvs-src@FreeBSD.ORG Wed Dec 20 20:40:30 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1CF5B16A40F; Wed, 20 Dec 2006 20:40:30 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id B100A43CB2; Wed, 20 Dec 2006 20:40:29 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kBKKeTP0089573; Wed, 20 Dec 2006 20:40:29 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kBKKeTYH089572; Wed, 20 Dec 2006 20:40:29 GMT (envelope-from rwatson) Message-Id: <200612202040.kBKKeTYH089572@repoman.freebsd.org> From: Robert Watson Date: Wed, 20 Dec 2006 20:40:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/security/mac mac_net.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2006 20:40:30 -0000 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@sparta.com Obtained from: TrustedBSD Project MFC after: 3 weeks Revision Changes Path 1.121 +2 -2 src/sys/security/mac/mac_net.c