Changeset 14482


Ignore:
Timestamp:
Dec 13, 2010, 8:38:13 PM (8 years ago)
Author:
gb
Message:

remap_spjump(): on x86, the spjump table is just a table of addresses,
so we don't need it to be executable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/pmcl-kernel.c

    r14295 r14482  
    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.