Messages in this thread | | | Date | Sun, 6 Dec 2009 17:41:37 +0000 | From | Al Viro <> | Subject | Re: [RFC][PATCH 11/18] arch_mmap_check() on mn10300 |
| |
On Sun, Dec 06, 2009 at 05:38:12PM +0000, David Howells wrote: > Al Viro <viro@ftp.linux.org.uk> wrote: > > > +#define arch_mmap_chech(addr, len, flags) \ > > + (((flags) & MAP_FIXED && (addr) < MIN_MAP_ADDR) ? -EINVAL : 0) > > I believe that should be arch_mmap_check().
D'oh. Thanks for spotting (and that, BTW, is a nice demonstration of the reasons why "arch hooks with default" thing is bad). Fixed in my tree, will go in the next repost.
| |