Module Name: src Committed By: maxv Date: Sun Dec 13 15:53:06 UTC 2015
Modified Files: src/sys/arch/amd64/amd64: trap.c src/sys/arch/x86/x86: cpu.c Log Message: Implement amd64 support for SMEP - Supervisor Mode Execution Protection. Now, on CPUs that support this feature, if the kernel tries to execute an instruction located in userland, the CPU will trigger a page fault. Tested on amd64 (Intel Core i5). To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83 src/sys/arch/amd64/amd64/trap.c cvs rdiff -u -r1.117 -r1.118 src/sys/arch/x86/x86/cpu.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.