Messages in this thread |  | | | Subject | Re: [PATCH][RFC] introduce a mmap MAP_DONTEXPAND flag | | From | Andi Kleen <> | | Date | Thu, 18 Mar 2004 01:58:02 +0100 |
| |
Bart Oldeman <bartoldeman@users.sourceforge.net> writes:
> return -EPERM; > --- include/asm-i386/mman.h~ Sat Oct 25 19:42:58 2003 > +++ include/asm-i386/mman.h Thu Mar 11 13:37:33 2004 > @@ -22,6 +22,7 @@ > #define MAP_NORESERVE 0x4000 /* don't check for reservations */ > #define MAP_POPULATE 0x8000 /* populate (prefault) pagetables */ > #define MAP_NONBLOCK 0x10000 /* do not block on IO */ > +#define MAP_DONTEXPAND 0x20000 /* do not allow mremap to expand */
*always* when you change something in asm-i386 check if other architectures need changing too. Your patch would break compilation for everybody !i386
-Andi
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |