From owner-cvs-all@FreeBSD.ORG Tue Jul 5 22:49:10 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 A95F816A41C; Tue, 5 Jul 2005 22:49:10 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9026843D48; Tue, 5 Jul 2005 22:49:10 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j65MnAFW049590; Tue, 5 Jul 2005 22:49:10 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j65MnAZw049589; Tue, 5 Jul 2005 22:49:10 GMT (envelope-from rwatson) Message-Id: <200507052249.j65MnAZw049589@repoman.freebsd.org> From: Robert Watson Date: Tue, 5 Jul 2005 22:49:10 +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/kern uipc_syscalls.c src/sys/security/mac mac_socket.c src/sys/security/mac_stub mac_stub.c src/sys/sys mac.h mac_policy.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 22:49:10 -0000 rwatson 2005-07-05 22:49:10 UTC FreeBSD src repository Modified files: sys/kern uipc_syscalls.c sys/security/mac mac_socket.c sys/security/mac_stub mac_stub.c sys/sys mac.h mac_policy.h Log: Add MAC Framework and MAC policy entry point mac_check_socket_create(), which is invoked from socket() and socketpair(), permitting MAC policy modules to control the creation of sockets by domain, type, and protocol. Obtained from: TrustedBSD Project Sponsored by: SPARTA, SPAWAR Approved by: re (scottl) Requested by: SCC Revision Changes Path 1.221 +14 -0 src/sys/kern/uipc_syscalls.c 1.4 +18 -0 src/sys/security/mac/mac_socket.c 1.51 +13 -0 src/sys/security/mac_stub/mac_stub.c 1.66 +6 -0 src/sys/sys/mac.h 1.65 +3 -0 src/sys/sys/mac_policy.h