[patch] somebody please fix this outstanding mmap(2) bug

2010-03-22 Thread Alexander Best
could somebody please commit this patch? it's been around forever (2003 or 2004) and fixes mmap so the offset argument is being ignored when MAP_ANON is defined (just like the mmap(2) manual says). right now the offset argument is being taken into account although MAP_ANON is set!!! the pr is

Re: [patch] somebody please fix this outstanding mmap(2) bug

2010-03-22 Thread Alexander Best
oops. forgot the patch. ;) -- Alexander Best Index: sys/vm/vm_mmap.c === --- sys/vm/vm_mmap.c(revision 205390) +++ sys/vm/vm_mmap.c(working copy) @@ -241,19 +241,23 @@ ((prot (PROT_READ | PROT_WRITE)) !=

Re: [patch] somebody please fix this outstanding mmap(2) bug

2010-03-22 Thread John Baldwin
On Monday 22 March 2010 11:07:43 am Alexander Best wrote: could somebody please commit this patch? it's been around forever (2003 or 2004) and fixes mmap so the offset argument is being ignored when MAP_ANON is defined (just like the mmap(2) manual says). right now the offset argument is

Re: [patch] somebody please fix this outstanding mmap(2) bug

2010-03-22 Thread Alexander Best
John Baldwin schrieb am 2010-03-22: On Monday 22 March 2010 11:07:43 am Alexander Best wrote: could somebody please commit this patch? it's been around forever (2003 or 2004) and fixes mmap so the offset argument is being ignored when MAP_ANON is defined (just like the mmap(2) manual

Re: [patch] somebody please fix this outstanding mmap(2) bug

2010-03-22 Thread John Baldwin
On Monday 22 March 2010 3:46:53 pm Alexander Best wrote: John Baldwin schrieb am 2010-03-22: On Monday 22 March 2010 11:07:43 am Alexander Best wrote: could somebody please commit this patch? it's been around forever (2003 or 2004) and fixes mmap so the offset argument is being ignored