From owner-cvs-all Tue Oct 22 8:54:20 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1086237B404; Tue, 22 Oct 2002 08:54:18 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7EB943E6E; Tue, 22 Oct 2002 08:54:17 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9MFrhmV010325; Tue, 22 Oct 2002 08:53:43 -0700 (PDT) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9MFrh9R010324; Tue, 22 Oct 2002 08:53:43 -0700 (PDT) Message-Id: <200210221553.g9MFrh9R010324@repoman.freebsd.org> From: Robert Watson Date: Tue, 22 Oct 2002 08:53:43 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_mac.c src/sys/sys mac.h mac_policy.h src/sys/vm vm_swap.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG rwatson 2002/10/22 08:53:43 PDT Modified files: sys/kern kern_mac.c sys/sys mac_policy.h mac.h sys/vm vm_swap.c Log: Introduce MAC_CHECK_VNODE_SWAPON, which permits MAC policies to perform authorization checks during swapon() events; policies might choose to enforce protections based on the credential requesting the swap configuration, the target of the swap operation, or other factors such as internal policy state. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.47 +22 -0 src/sys/kern/kern_mac.c 1.17 +1 -0 src/sys/sys/mac.h 1.18 +3 -0 src/sys/sys/mac_policy.h 1.123 +7 -1 src/sys/vm/vm_swap.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message