Date: Mon, 9 Nov 2009 09:31:12 -0500 From: John Baldwin <jhb@freebsd.org> To: freebsd-hackers@freebsd.org Cc: Alexander Best <alexbestms@math.uni-muenster.de>, Alan Cox <alc@cs.rice.edu> Subject: Re: mmap(2) with MAP_ANON honouring offset although it shouldn't Message-ID: <200911090931.12494.jhb@freebsd.org> In-Reply-To: <permail-20091108021905f0889e8400001ff7-a_best01@message-id.uni-muenster.de> References: <permail-20091108021905f0889e8400001ff7-a_best01@message-id.uni-muenster.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 07 November 2009 9:19:05 pm Alexander Best wrote: > no problem. i've sent the final patch as followup to kern/71258 and also > attached it to this message. to make it short. what's being changed by the > patch: > > 1) if MAP_ANON is defined and offset !=0 ====> return EINVAL > 2) if MAP_STACK is defined and offset !=0 ====> offset = 0 > > would be great if you could have a look at the patch if you've got a spare > minute. I didn't think 2) changed? I.e. both the old and new code do this, so only 1) is changing? -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911090931.12494.jhb>