From owner-svn-src-head@FreeBSD.ORG Wed Sep 17 20:12:32 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5367BA3A; Wed, 17 Sep 2014 20:12:32 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2A6AF1FA; Wed, 17 Sep 2014 20:12:32 +0000 (UTC) Received: from ralph.baldwin.cx (pool-173-70-85-31.nwrknj.fios.verizon.net [173.70.85.31]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 1F328B97E; Wed, 17 Sep 2014 16:12:31 -0400 (EDT) From: John Baldwin To: Peter Holm Subject: Re: svn commit: r271635 - in head: lib/libc/sys sys/vm Date: Wed, 17 Sep 2014 15:41:16 -0400 Message-ID: <2228211.yDuTk5oHyL@ralph.baldwin.cx> User-Agent: KMail/4.10.5 (FreeBSD/10.0-STABLE; KDE/4.10.5; amd64; ; ) In-Reply-To: <20140916100009.GA96375@x2.osted.lan> References: <201409151720.s8FHKDFs099885@svn.freebsd.org> <20140916100009.GA96375@x2.osted.lan> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 17 Sep 2014 16:12:31 -0400 (EDT) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2014 20:12:32 -0000 On Tuesday, September 16, 2014 12:00:09 PM Peter Holm wrote: > 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. I've just committed a fix to libgeom that fixes both mdconfig -l and gstat. Konstantin has a a fix to allow older binaries to still work that he will commit shortly. -- John Baldwin