From owner-cvs-src@FreeBSD.ORG Tue Feb 6 10:59:23 2007 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 7B86716A400; Tue, 6 Feb 2007 10:59:23 +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 6955713C491; Tue, 6 Feb 2007 10:59:23 +0000 (UTC) (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 l16AxNwi027726; Tue, 6 Feb 2007 10:59:23 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l16AxNNn027725; Tue, 6 Feb 2007 10:59:23 GMT (envelope-from rwatson) Message-Id: <200702061059.l16AxNNn027725@repoman.freebsd.org> From: Robert Watson Date: Tue, 6 Feb 2007 10:59:23 +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/sys mac.h src/sys/security/mac mac_inet.c mac_internal.h mac_label.c mac_pipe.c mac_policy.h mac_posix_sem.c mac_system.c mac_sysv_msg.c mac_sysv_sem.c mac_sysv_shm.c mac_vfs.c src/sys/security/mac_biba mac_biba.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: Tue, 06 Feb 2007 10:59:23 -0000 rwatson 2007-02-06 10:59:23 UTC FreeBSD src repository Modified files: sys/sys mac.h sys/security/mac mac_inet.c mac_internal.h mac_label.c mac_pipe.c mac_policy.h mac_posix_sem.c mac_system.c mac_sysv_msg.c mac_sysv_sem.c mac_sysv_shm.c mac_vfs.c sys/security/mac_biba mac_biba.c sys/security/mac_bsdextended mac_bsdextended.c sys/security/mac_ifoff mac_ifoff.c sys/security/mac_mls mac_mls.c sys/security/mac_none mac_none.c sys/security/mac_partition mac_partition.c sys/security/mac_portacl mac_portacl.c sys/security/mac_seeotheruids mac_seeotheruids.c sys/security/mac_stub mac_stub.c sys/security/mac_test mac_test.c Log: Continue 7-CURRENT MAC Framework rearrangement and cleanup: Don't perform a nested include of _label.h in mac.h, as mac.h now describes only the user API to MAC, and _label.h defines the in-kernel representation of MAC labels. Remove mac.h includes from policies and MAC framework components that do not use userspace MAC API definitions. Add _KERNEL inclusion checks to mac_internal.h and mac_policy.h, as these are kernel-only include files Obtained from: TrustedBSD Project Revision Changes Path 1.10 +0 -1 src/sys/security/mac/mac_inet.c 1.120 +4 -0 src/sys/security/mac/mac_internal.h 1.7 +0 -1 src/sys/security/mac/mac_label.c 1.111 +0 -1 src/sys/security/mac/mac_pipe.c 1.85 +6 -0 src/sys/security/mac/mac_policy.h 1.9 +0 -1 src/sys/security/mac/mac_posix_sem.c 1.110 +0 -1 src/sys/security/mac/mac_system.c 1.9 +0 -1 src/sys/security/mac/mac_sysv_msg.c 1.8 +0 -1 src/sys/security/mac/mac_sysv_sem.c 1.7 +0 -1 src/sys/security/mac/mac_sysv_shm.c 1.119 +0 -1 src/sys/security/mac/mac_vfs.c 1.98 +0 -1 src/sys/security/mac_biba/mac_biba.c 1.32 +0 -1 src/sys/security/mac_bsdextended/mac_bsdextended.c 1.11 +0 -1 src/sys/security/mac_ifoff/mac_ifoff.c 1.81 +0 -1 src/sys/security/mac_mls/mac_mls.c 1.34 +0 -1 src/sys/security/mac_none/mac_none.c 1.14 +0 -1 src/sys/security/mac_partition/mac_partition.c 1.12 +0 -1 src/sys/security/mac_portacl/mac_portacl.c 1.11 +0 -1 src/sys/security/mac_seeotheruids/mac_seeotheruids.c 1.61 +0 -1 src/sys/security/mac_stub/mac_stub.c 1.66 +0 -1 src/sys/security/mac_test/mac_test.c 1.73 +0 -2 src/sys/sys/mac.h