From owner-cvs-src@FreeBSD.ORG Fri Nov 14 19:34:59 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 B26E816A4CE; Fri, 14 Nov 2003 19:34:59 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28E0E43F85; Fri, 14 Nov 2003 19:34:59 -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 hAF3YwXJ004310; Fri, 14 Nov 2003 19:34:58 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAF3YwZ1004309; Fri, 14 Nov 2003 19:34:58 -0800 (PST) (envelope-from rwatson) Message-Id: <200311150334.hAF3YwZ1004309@repoman.freebsd.org> From: Robert Watson To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/posix1e mac.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: , Date: Sat, 15 Nov 2003 03:34:59 -0000 X-Original-Date: Fri, 14 Nov 2003 19:34:58 -0800 (PST) X-List-Received-Date: Sat, 15 Nov 2003 03:34:59 -0000 rwatson 2003/11/14 19:34:58 PST FreeBSD src repository Modified files: lib/libc/posix1e mac.c Log: /etc/mac.conf is implicitly read and parsed when the MAC configuration is accessed for the first time as a result of an application looking up label configuration information. Previously, the check and read were kicked off by mac_prepare_(typename)() functions; since mac_prepare_type() may now be directly employed by a user process, push the check and initialization into that function. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.9 +6 -20 src/lib/libc/posix1e/mac.c