svn commit: r271635 - in head: lib/libc/sys sys/vm
John Baldwin
jhb at freebsd.org
Wed Sep 17 20:12:32 UTC 2014
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
More information about the svn-src-head
mailing list