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:29:38
Module Name:	syssrc
Committed By:	he
Date:		Sun Jun 17 22:29:37 UTC 2001

Modified Files:
	syssrc/sys/arch/i386/i386 [netbsd-1-5]: trap.c

Log Message:
Pull up revision 1.160 (via patch, 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.139.2.1 -r1.139.2.2 syssrc/sys/arch/i386/i386/trap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.