From owner-svn-src-all@FreeBSD.ORG Tue Sep 16 10:00:18 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 88E84964 for ; Tue, 16 Sep 2014 10:00:18 +0000 (UTC) Received: from relay00.pair.com (relay00.pair.com [209.68.5.9]) by mx1.freebsd.org (Postfix) with SMTP id 1FC9F162 for ; Tue, 16 Sep 2014 10:00:17 +0000 (UTC) Received: (qmail 15811 invoked from network); 16 Sep 2014 10:00:10 -0000 Received: from 87.58.146.155 (HELO x2.osted.lan) (87.58.146.155) by relay00.pair.com with SMTP; 16 Sep 2014 10:00:10 -0000 X-pair-Authenticated: 87.58.146.155 Received: from x2.osted.lan (localhost [127.0.0.1]) by x2.osted.lan (8.14.5/8.14.5) with ESMTP id s8GA09DT097240; Tue, 16 Sep 2014 12:00:09 +0200 (CEST) (envelope-from pho@x2.osted.lan) Received: (from pho@localhost) by x2.osted.lan (8.14.5/8.14.5/Submit) id s8GA0935097239; Tue, 16 Sep 2014 12:00:09 +0200 (CEST) (envelope-from pho) Date: Tue, 16 Sep 2014 12:00:09 +0200 From: Peter Holm To: John Baldwin Subject: Re: svn commit: r271635 - in head: lib/libc/sys sys/vm Message-ID: <20140916100009.GA96375@x2.osted.lan> References: <201409151720.s8FHKDFs099885@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201409151720.s8FHKDFs099885@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2014 10:00:18 -0000 On Mon, Sep 15, 2014 at 05:20:13PM +0000, John Baldwin wrote: > Author: jhb > Date: Mon Sep 15 17:20:13 2014 > New Revision: 271635 > URL: http://svnweb.freebsd.org/changeset/base/271635 > > Log: > Add stricter checking of some mmap() arguments: > - Fail with EINVAL if an invalid protection mask is passed to mmap(). > - Fail with EINVAL if an unknown flag is passed to mmap(). > - Fail with EINVAL if both MAP_PRIVATE and MAP_SHARED are passed to mmap(). > - Require one of either MAP_PRIVATE or MAP_SHARED for non-anonymous > mappings. > > Reviewed by: alc, kib > MFC after: 2 weeks > Differential Revision: https://reviews.freebsd.org/D698 > > Modified: > head/lib/libc/sys/mmap.2 > head/sys/vm/vm_mmap.c > I'm seem to have mdconfig(8) issues with this commit. /dev/md* appear to linger. http://people.freebsd.org/~pho/stress/log/md6.txt - Peter