[lkml]   [2004]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [OT] Testing PROT_NONE and other protections, and a surprise
    Kyle Moffett wrote:
    > >The error code is -1, aka. MAP_FAILED.
    > Oops! I guess I was just lucky that part didn't fail :-D On the
    > other hand, it couldn't legally return 0 anyway, could it?

    Yes it could -- if you request a mapping at address 0 with MAP_FIXED.
    A few OSes won't do that, but Linux and many others will.

    -- Jamie
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

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