Changeset 14486 for release


Ignore:
Timestamp:
Dec 15, 2010, 5:41:51 PM (8 years ago)
Author:
rme
Message:

Merge r14482 from trunk: x86 spjump table doesn't need to be executable.

See https://bugzilla.redhat.com/show_bug.cgi?id=562226#c17 for the
issue this is meant to address.

Location:
release/1.6/source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release/1.6/source

  • release/1.6/source/lisp-kernel/pmcl-kernel.c

    r14295 r14486  
    14171417    if (!VirtualProtect((pc) SPJUMP_TARGET_ADDRESS,
    14181418                        0x1000,
    1419                         PAGE_EXECUTE_READWRITE,
     1419                        PAGE_READWRITE,
    14201420                        &old_protect)) {
    14211421      wperror("VirtualProtect spjump");
     
    14321432  pc new = mmap((pc) SPJUMP_TARGET_ADDRESS,
    14331433                0x1000,
    1434                 PROT_READ | PROT_WRITE | PROT_EXEC,
     1434                PROT_READ | PROT_WRITE,
    14351435                MAP_PRIVATE | MAP_ANON | MAP_FIXED,
    14361436                -1,
Note: See TracChangeset for help on using the changeset viewer.