From owner-cvs-src@FreeBSD.ORG Fri Nov 7 14:31:28 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE57516A4CE; Fri, 7 Nov 2003 14:31:28 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E0C343FDD; Fri, 7 Nov 2003 14:31:28 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hA7MVSXJ087617; Fri, 7 Nov 2003 14:31:28 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hA7MVRD3087616; Fri, 7 Nov 2003 14:31:27 -0800 (PST) (envelope-from rwatson) Message-Id: <200311072231.hA7MVRD3087616@repoman.freebsd.org> From: Robert Watson Date: Fri, 7 Nov 2003 14:31:27 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/security/mac mac_net.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 07 Nov 2003 22:31:28 -0000 rwatson 2003/11/07 14:31:27 PST FreeBSD src repository Modified files: sys/security/mac mac_net.c Log: When allocation of a socket peer label fails, scrub what was successfully initialized in the label as a socket peer label, not a socket label. For current policy modules, this didn't make a difference, but if a policy module had label data in the peer label that was to be GC'd in a different way than the normal socket label, it might have been a problem. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.104 +1 -1 src/sys/security/mac/mac_net.c