From owner-cvs-all@FreeBSD.ORG Wed Mar 26 07:12:04 2003 Return-Path: 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 99CDC37B404; Wed, 26 Mar 2003 07:12:04 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3977543F75; Wed, 26 Mar 2003 07:12:04 -0800 (PST) (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 h2QFC40U013209; Wed, 26 Mar 2003 07:12:04 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2QFC3Si013208; Wed, 26 Mar 2003 07:12:03 -0800 (PST) Message-Id: <200303261512.h2QFC3Si013208@repoman.freebsd.org> From: Robert Watson Date: Wed, 26 Mar 2003 07:12:03 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: cvs commit: src/sys/sys mac.h mac_policy.h src/sys/kern kern_mac.c src/sys/security/mac_biba mac_biba.c src/sys/security/mac_lomac mac_lomac.c src/sys/security/mac_mls mac_mls.c src/sys/security/mac_none mac_none.c src/sys/security/mac_test ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 26 Mar 2003 15:12:06 -0000 rwatson 2003/03/26 07:12:03 PST FreeBSD src repository Modified files: sys/sys mac.h mac_policy.h sys/kern kern_mac.c sys/security/mac_biba mac_biba.c sys/security/mac_lomac mac_lomac.c sys/security/mac_mls mac_mls.c sys/security/mac_none mac_none.c sys/security/mac_test mac_test.c sys/netinet ip_input.c Log: Modify the mac_init_ipq() MAC Framework entry point to accept an additional flags argument to indicate blocking disposition, and pass in M_NOWAIT from the IP reassembly code to indicate that blocking is not OK when labeling a new IP fragment reassembly queue. This should eliminate some of the WITNESS warnings that have started popping up since fine-grained IP stack locking started going in; if memory allocation fails, the creation of the fragment queue will be aborted. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.82 +12 -4 src/sys/kern/kern_mac.c 1.231 +4 -1 src/sys/netinet/ip_input.c 1.56 +1 -1 src/sys/security/mac_biba/mac_biba.c 1.11 +1 -1 src/sys/security/mac_lomac/mac_lomac.c 1.43 +1 -1 src/sys/security/mac_mls/mac_mls.c 1.27 +1 -1 src/sys/security/mac_none/mac_none.c 1.24 +3 -2 src/sys/security/mac_test/mac_test.c 1.38 +1 -1 src/sys/sys/mac.h 1.37 +1 -1 src/sys/sys/mac_policy.h