NetBSD/sys/compat
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
..
aout use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
aoutm68k use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
common Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
freebsd use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
hpux Removed obsoletes EMUL_NO_BSD_ASYNCIO_PIPE and EMUL_NO_SIGIO_ON_READ flags. 2001-06-16 21:44:27 +00:00
ibcs2 Removed obsoletes EMUL_NO_BSD_ASYNCIO_PIPE and EMUL_NO_SIGIO_ON_READ flags. 2001-06-16 21:44:27 +00:00
linux Add %fs/%gs to trap frame and save/restore them on 2001-06-17 21:01:32 +00:00
m68k4k restructure struct emul and execsw, in preparation to make emulations LKMable: 2000-11-21 00:37:49 +00:00
netbsd32 In check_exec(), don't bother checking P_TRACED along with 2001-06-15 17:24:19 +00:00
osf1 Removed obsoletes EMUL_NO_BSD_ASYNCIO_PIPE and EMUL_NO_SIGIO_ON_READ flags. 2001-06-16 21:44:27 +00:00
ossaudio Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
pecoff Add support to mmap .bss section. 2001-01-15 17:05:32 +00:00
sunos Removed obsoletes EMUL_NO_BSD_ASYNCIO_PIPE and EMUL_NO_SIGIO_ON_READ flags. 2001-06-16 21:44:27 +00:00
sunos32 Removed obsoletes EMUL_NO_BSD_ASYNCIO_PIPE and EMUL_NO_SIGIO_ON_READ flags. 2001-06-16 21:44:27 +00:00
svr4 Removed obsoletes EMUL_NO_BSD_ASYNCIO_PIPE and EMUL_NO_SIGIO_ON_READ flags. 2001-06-16 22:05:36 +00:00
svr4_32 Removed obsoletes EMUL_NO_BSD_ASYNCIO_PIPE and EMUL_NO_SIGIO_ON_READ flags. 2001-06-16 21:44:27 +00:00
ultrix Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
vax1k eliminate the KERN_* error codes in favor of the traditional E* codes. 2001-03-15 06:10:32 +00:00
Makefile Our INCSDIR has been pruned from distrib/sets, so don't make it any more. 2001-03-30 12:42:30 +00:00