From owner-cvs-src@FreeBSD.ORG Sat Feb 18 17:16:18 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE71016A420; Sat, 18 Feb 2006 17:16:18 +0000 (GMT) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BE3D43D45; Sat, 18 Feb 2006 17:16:18 +0000 (GMT) (envelope-from andre@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 k1IHGI0a050646; Sat, 18 Feb 2006 17:16:18 GMT (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k1IHGIR9050645; Sat, 18 Feb 2006 17:16:18 GMT (envelope-from andre) Message-Id: <200602181716.k1IHGIR9050645@repoman.freebsd.org> From: Andre Oppermann Date: Sat, 18 Feb 2006 17:16:18 +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_domain.c uipc_mbuf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2006 17:16:18 -0000 andre 2006-02-18 17:16:18 UTC FreeBSD src repository Modified files: sys/kern uipc_domain.c uipc_mbuf.c Log: The sysctls kern.ipc.[max_linkhdr|max_protohdr|max_hdr|max_datalen] can't be changed from userland. Make them read-only and provide descriptions. kern.ipc.max_datalen must never be less than one byte. Enforce this with a panic in net_init_domain(). Sponsored by: TCP/IP Optimization Fundraise 2005 MFC after: 3 days Revision Changes Path 1.45 +2 -0 src/sys/kern/uipc_domain.c 1.162 +8 -7 src/sys/kern/uipc_mbuf.c