Source-Changes archive

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

CVS commit: [netbsd-7-0] src/sys/compat/linux/arch/amd64



Module Name:    src
Committed By:   snj
Date:           Tue Feb 14 16:55:27 UTC 2017

Modified Files:
        src/sys/compat/linux/arch/amd64 [netbsd-7-0]: linux_machdep.c

Log Message:
Pull up following revision(s) (requested by maxv in ticket #1359):
        sys/compat/linux/arch/amd64/linux_machdep.c: 1.50, 1.51
Don't let userland choose %rip. This is the Intel Sysret vulnerability
again.
--
Make sure %rip is in userland. This is harmless, since the return to
userland is made with iret instead of sysret in this path. While here, use
size_t.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.48.8.1 \
    src/sys/compat/linux/arch/amd64/linux_machdep.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