Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   elad
Date:           Sat May 20 15:45:38 UTC 2006

Modified Files:
        src/sys/kern: exec_subr.c kern_pax.c
        src/sys/sys: pax.h
        src/sys/uvm: uvm_map.c uvm_mmap.c uvm_unix.c

Log Message:
Better implementation of PaX MPROTECT, after looking some more into the
code and not trying to use temporary solutions.

Lots of comments and help from YAMAMOTO Takashi, also thanks to the PaX
author for being quick to recognize that something fishy's going on. :)

Hook up in mmap/vmcmd rather than (ugh!) uvm_map_protect().

Next time I suggest to commit a temporary solution just revoke my
commit bit.


To generate a diff of this commit:
cvs rdiff -r1.47 -r1.48 src/sys/kern/exec_subr.c
cvs rdiff -r1.2 -r1.3 src/sys/kern/kern_pax.c
cvs rdiff -r1.1 -r1.2 src/sys/sys/pax.h
cvs rdiff -r1.224 -r1.225 src/sys/uvm/uvm_map.c
cvs rdiff -r1.96 -r1.97 src/sys/uvm/uvm_mmap.c
cvs rdiff -r1.32 -r1.33 src/sys/uvm/uvm_unix.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index