Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 11/04/1999 20:49:28
Module Name: syssrc
Committed By: chs
Date: Fri Nov 5 04:49:27 UTC 1999
Modified Files:
syssrc/sys/arch/sparc/sparc: locore.s
Log Message:
several fixes to copy{in,out,}str() from charles and myself:
don't panic if maxlen == 0, just return ENAMETOLONG.
treat maxlen as unsigned like the manpage indicates.
avoid crashing if the userspace address is >= KERNBASE.
make sure *done is 0 when no bytes are copied.
To generate a diff of this commit:
cvs rdiff -r1.125 -r1.126 syssrc/sys/arch/sparc/sparc/locore.s
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.