freebsd-nq/sys/i386/linux
Marcel Moolenaar 956d3333ca sigset_t change (part 4 of 5)
-----------------------------

The compatibility code and/or emulators have been updated:

iBCS2 now mostly uses the older syscalls. SVR4 now properly
handles all signals. This has been achieved by using the
new sigset_t throughout the emulator. The Linuxulator has
been severely updated. Internally the new Linux sigset_t is
made the default. These are then mapped to and from the
new FreeBSD sigset_t.

Also, rt_sigsuspend has been implemented in the Linuxulator.
Implementing this syscall basicly caused all this sigset_t
changing in the first place and the syscall has been used
throughout the change as a means for testing. It basicly is
too much work to undo the implementation so that it can
later be added again.

A special note on the use of sv_sigtbl and sv_sigsize in
struct sysentvec:
Every signal larger than sv_sigsize is not translated and is
passed on to the signal handler unmodified. Signals in the
range 1 upto and including sv_sigsize are translated.
The rationale is that only the system defined signals need to
be translated.

The emulators also have been updated so that the translation
tables are only indexed for valid (system defined) signals.
This change also fixes the translation bug already in the
SVR4 emulator.
1999-09-29 15:12:18 +00:00
..
imgact_linux.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
linux_dummy.c sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00
linux_file.c This patch clears the way for removing a number of tty related 1999-09-25 16:21:39 +00:00
linux_genassym.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
linux_ioctl.c This is what was "fdfix2.patch," a fix for fd sharing. It's pretty 1999-09-19 17:00:25 +00:00
linux_ipc.c Linux doesn't complain if you remove a msg queue that doesn't exist 1999-09-23 09:57:45 +00:00
linux_locore.s Use ALIGN_TEXT macro for alignment to avoid ambiguity. 1999-08-25 19:04:39 +00:00
linux_mib.c $Id$ -> $FreeBSD$ 1999-08-28 02:16:32 +00:00
linux_mib.h $Id$ -> $FreeBSD$ 1999-08-28 02:16:32 +00:00
linux_misc.c sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00
linux_proto.h sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00
linux_signal.c sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00
linux_socket.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
linux_stats.c Fix a braino: Linux minor device numbers are 8 bits wide and not 10. 1999-08-29 11:47:01 +00:00
linux_syscall.h Regeneration. 1999-09-22 22:05:37 +00:00
linux_sysent.c sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00
linux_sysvec.c sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00
linux_util.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
linux_util.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
linux.h sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
syscalls.conf $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
syscalls.master sigset_t change (part 4 of 5) 1999-09-29 15:12:18 +00:00