Module Name: src Committed By: martin Date: Sun May 5 08:34:16 UTC 2019
Modified Files: src/sys/arch/amd64/amd64 [netbsd-8]: copy.S src/sys/arch/i386/i386 [netbsd-8]: copy.S Log Message: Pull up following revision(s) (requested by maxv in ticket #1257): sys/arch/amd64/amd64/copy.S: revision 1.33 sys/arch/i386/i386/copy.S: revision 1.31 Hum. Fix a potentially catastrophic bug: kcopy() sets DF=1 if the areas overlap, but doesn't clear it if the copy faults. If this happens, we return to the caller with DF=1, and each future memory copy will be backwards. I wonder if there really are places where kcopy() is called with overlapping areas. To generate a diff of this commit: cvs rdiff -u -r1.20.10.3 -r1.20.10.4 src/sys/arch/amd64/amd64/copy.S cvs rdiff -u -r1.25.8.1 -r1.25.8.2 src/sys/arch/i386/i386/copy.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.