From owner-cvs-all Sun Oct 6 7:39:18 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 345FE37B401; Sun, 6 Oct 2002 07:39:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E95FF43E42; Sun, 6 Oct 2002 07:39:16 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Received: from freefall.freebsd.org (rwatson@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g96EdGCo032722; Sun, 6 Oct 2002 07:39:16 -0700 (PDT) (envelope-from rwatson@freefall.freebsd.org) Received: (from rwatson@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g96EdGXe032721; Sun, 6 Oct 2002 07:39:16 -0700 (PDT) Message-Id: <200210061439.g96EdGXe032721@freefall.freebsd.org> From: Robert Watson Date: Sun, 6 Oct 2002 07:39:16 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/svr4 svr4_stream.c src/sys/kern kern_mac.c sys_socket.c uipc_syscalls.c src/sys/sys mac.h mac_policy.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/10/06 07:39:16 PDT Modified files: sys/compat/svr4 svr4_stream.c sys/kern kern_mac.c sys_socket.c uipc_syscalls.c sys/sys mac.h mac_policy.h Log: Integrate mac_check_socket_send() and mac_check_socket_receive() checks from the MAC tree: allow policies to perform access control for the ability of a process to send and receive data via a socket. At some point, we might also pass in additional address information if an explicit address is requested on send. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.36 +17 -0 src/sys/compat/svr4/svr4_stream.c 1.41 +34 -0 src/sys/kern/kern_mac.c 1.46 +17 -0 src/sys/kern/sys_socket.c 1.132 +22 -0 src/sys/kern/uipc_syscalls.c 1.14 +2 -0 src/sys/sys/mac.h 1.16 +6 -0 src/sys/sys/mac_policy.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message