From owner-cvs-all Mon Aug 19 9:59:43 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 3E59537B400; Mon, 19 Aug 2002 09:59:38 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E99F343E77; Mon, 19 Aug 2002 09:59:37 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Received: from freefall.freebsd.org (rwatson@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7JGxbJU091680; Mon, 19 Aug 2002 09:59:37 -0700 (PDT) (envelope-from rwatson@freefall.freebsd.org) Received: (from rwatson@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7JGxbVf091679; Mon, 19 Aug 2002 09:59:37 -0700 (PDT) Message-Id: <200208191659.g7JGxbVf091679@freefall.freebsd.org> From: Robert Watson Date: Mon, 19 Aug 2002 09:59:37 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_mac.c sys_pipe.c src/sys/security/mac_biba mac_biba.c src/sys/security/mac_mls mac_mls.c src/sys/security/mac_none mac_none.c src/sys/security/mac_test mac_test.c src/sys/sys mac.h ... 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/08/19 09:59:37 PDT Modified files: sys/kern kern_mac.c sys_pipe.c sys/security/mac_biba mac_biba.c sys/security/mac_mls mac_mls.c sys/security/mac_none mac_none.c sys/security/mac_test mac_test.c sys/sys mac.h mac_policy.h Log: Break out mac_check_pipe_op() into component check entry points: mac_check_pipe_poll(), mac_check_pipe_read(), mac_check_pipe_stat(), and mac_check_pipe_write(). This is improves consistency with other access control entry points and permits security modules to only control the object methods that they are interested in, avoiding switch statements. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs Revision Changes Path 1.12 +46 -4 src/sys/kern/kern_mac.c 1.117 +4 -4 src/sys/kern/sys_pipe.c 1.4 +66 -18 src/sys/security/mac_biba/mac_biba.c 1.4 +66 -18 src/sys/security/mac_mls/mac_mls.c 1.4 +34 -4 src/sys/security/mac_none/mac_none.c 1.4 +34 -4 src/sys/security/mac_test/mac_test.c 1.6 +4 -14 src/sys/sys/mac.h 1.7 +12 -3 src/sys/sys/mac_policy.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message