[lkml]   [2004]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Non-Exec stack patches
    Kurt Garloff <> wrote:
    > find attached a patch to parse the elf binaries for a PT_GNU_STACK
    > section to set the stack non-executable if possible.

    This patch propagates the PT_GNU_STACK setting into the vma flags, allowing
    the architecture to set the stack permissions non-executable if the
    architecture chooses to do that, yes?

    Which architectures are currently making their pre-page execute permissions
    depend upon VM_EXEC? Would additional arch patches be needed for this?

    This may not get past Linus of course. It doesn't even get past me with
    that magical undocumented -1/0/+1 value of the executable_stack argument.
    Please replace that with a proper, commented, #defined-or-enumerated value,

    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:01    [W:0.018 / U:9.348 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site