Source-Changes archive

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

CVS commit: [netbsd-7-1] src/sys/arch



Module Name:    src
Committed By:   martin
Date:           Sun May  5 08:48:40 UTC 2019

Modified Files:
        src/sys/arch/amd64/amd64 [netbsd-7-1]: copy.S
        src/sys/arch/i386/i386 [netbsd-7-1]: copy.S

Log Message:
Pull up following revision(s) (requested by maxv in ticket #1693):

        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.18.34.1 -r1.18.34.1.2.1 src/sys/arch/amd64/amd64/copy.S
cvs rdiff -u -r1.23 -r1.23.12.1 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.




Home | Main Index | Thread Index | Old Index