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

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

Log Message:
Pull up revision 1.65 (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.50.2.2 -r1.50.2.3 \
    syssrc/sys/compat/linux/arch/i386/linux_machdep.c

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