Module Name: src Committed By: maxv Date: Mon Nov 27 09:18:01 UTC 2017
Modified Files: src/sys/arch/amd64/amd64: machdep.c process_machdep.c Log Message: Inline _FRAME_GREG, and mask only 16 bits of the segment registers, otherwise the upper 48 bits may contain stack garbage. By the way, I find it suspicious that we're not masking regs[_REG_RFLAGS] with PSL_USER in process_write_regs. To generate a diff of this commit: cvs rdiff -u -r1.277 -r1.278 src/sys/arch/amd64/amd64/machdep.c cvs rdiff -u -r1.36 -r1.37 src/sys/arch/amd64/amd64/process_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.