NetBSD/sys/compat/linux
sommerfeld 7e7d262c34 Add %fs/%gs to trap frame and save/restore them on
trap/interrupt/syscall entry from userspace.

Remove special-case "by hand" validation of fs/gs register values as
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
multiprocessor systems, and fixes an otherwise difficult-to-fix
interaction between threads/clone(2) and USER_LDT.

Discussed in advance with Frank van der Linden.
2001-06-17 21:01:32 +00:00
..
arch Add %fs/%gs to trap frame and save/restore them on 2001-06-17 21:01:32 +00:00
common Removed obsoletes EMUL_NO_BSD_ASYNCIO_PIPE and EMUL_NO_SIGIO_ON_READ flags. 2001-06-16 21:44:27 +00:00
files.linux Improved the accuracy of gettimeofday/settimeofday: Linux stores a srtuct 2001-05-13 20:54:42 +00:00
linux_syscall.h
linux_syscallargs.h
linux_syscalls.c
Makefile.inc
TODO Integrated security review for signal delivery by Wolfgang Solfrank 2001-04-11 19:41:02 +00:00