Subject: CVS commit: syssrc [netbsd-1-5]
To: None <source-changes@netbsd.org>
From: Havard Eidnes <he@netbsd.org>
List: source-changes
Date: 06/18/2001 01:27:08
Module Name: syssrc
Committed By: he
Date: Sun Jun 17 22:27:08 UTC 2001
Modified Files:
syssrc/sys/arch/i386/i386 [netbsd-1-5]: svr4_machdep.c
Log Message:
Pull up revision 1.53 (requested by sommerfeld):
Add %fs/%gs to trap frame and save/restore them on trap/interupt/
syscall entry from userspace.
Remove special-case ``by hand'' validation of %fs/%gs register
values s well as special handling of them in various signal
handling paths. Now, like %ds and %es, they are validated by
the hardware on return to userland.
This paves the way for the use of %fs for per-cpu data on multi-
processor systems, and fixes an otherwise difficult-to-fix
interaction between threads/clone(2) and USER_LDT.
To generate a diff of this commit:
cvs rdiff -r1.47.4.1 -r1.47.4.2 syssrc/sys/arch/i386/i386/svr4_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.