Date: Tue, 16 Sep 2014 12:00:09 +0200 From: Peter Holm <peter@holm.cc> To: John Baldwin <jhb@freebsd.org> 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: <20140916100009.GA96375@x2.osted.lan> In-Reply-To: <201409151720.s8FHKDFs099885@svn.freebsd.org> References: <201409151720.s8FHKDFs099885@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140916100009.GA96375>