Changeset 15484 in project


Ignore:
Timestamp:
08/14/09 19:00:15 (10 years ago)
Author:
felix winkelmann
Message:

apply patch by Zbigniew to disable executable stack in assembly code modules (reported by Marihn Schouten)

Location:
chicken/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chicken/trunk/apply-hack.x86-64.s

    r12937 r15484  
    5555        xorq %rax, %rax
    5656        call *%r11
     57
     58/* Set non-executable stack for Linux ELF target */
     59#if defined(__linux__) && defined(__ELF__)
     60        .section .note.GNU-stack,"",%progbits
     61#endif
  • chicken/trunk/apply-hack.x86.s

    r12937 r15484  
    3434        movl 8(%esp), %esp
    3535        call *%eax
     36
     37/* Set non-executable stack for Linux ELF target */
     38#if defined(__linux__) && defined(__ELF__)
     39        .section .note.GNU-stack,"",%progbits
     40#endif
     41
Note: See TracChangeset for help on using the changeset viewer.