svn commit: r271635 - in head: lib/libc/sys sys/vm
Peter Holm
peter at holm.cc
Tue Sep 16 10:00:18 UTC 2014
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
More information about the svn-src-all
mailing list