Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2014 15:41:16 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Peter Holm <peter@holm.cc>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r271635 - in head: lib/libc/sys sys/vm
Message-ID:  <2228211.yDuTk5oHyL@ralph.baldwin.cx>
In-Reply-To: <20140916100009.GA96375@x2.osted.lan>
References:  <201409151720.s8FHKDFs099885@svn.freebsd.org> <20140916100009.GA96375@x2.osted.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2228211.yDuTk5oHyL>