Source-Changes archive

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

CVS commit: src/regress/sys/uvm



Module Name:    src
Committed By:   drochner
Date:           Wed Dec 10 13:24:59 UTC 2003

Modified Files:
        src/regress/sys/uvm: Makefile
Added Files:
        src/regress/sys/uvm/stack_exec: Makefile tramptest.c
        src/regress/sys/uvm/stack_noexec: Makefile tramptest.c

Log Message:
Add a check whether the stack is executable when needed, and one whether
the stack is non-executable if not explicitely enabled.
The latter one is not enabled in the Makefile yet because it cannot
succeed on platforms where the non-exec stack is not implemented.
Both checks rely on the fact that gcc puts trampoline onto the stack
for nested functions. On platforms where no such trampolines are used,
no meaningful results can be expected.
While not perfect, this is much easier than hand-coding trampolines for
each CPU type.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/regress/sys/uvm/Makefile
cvs rdiff -r0 -r1.1 src/regress/sys/uvm/stack_exec/Makefile \
    src/regress/sys/uvm/stack_exec/tramptest.c
cvs rdiff -r0 -r1.1 src/regress/sys/uvm/stack_noexec/Makefile \
    src/regress/sys/uvm/stack_noexec/tramptest.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