lkml.org 
[lkml]   [2004]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH][RFC] introduce a mmap MAP_DONTEXPAND flag
    From
    Date
    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/

    \
     
     \ /
      Last update: 2005-03-22 14:01    [W:0.040 / U:89.676 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site