Date: Wed, 29 Sep 1999 08:12:18 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/ibcs2 ibcs2_misc.c ibcs2_signal.c ibcs2_signal.h ibcs2_sysvec.c src/sys/i386/linux linux.h linux_dummy.c linux_misc.c linux_proto.h linux_signal.c linux_sysent.c linux_sysvec.c syscalls.master src/sys/i386/svr4 ... Message-ID: <199909291512.IAA59106@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 1999/09/29 08:12:18 PDT
Modified files:
sys/i386/ibcs2 ibcs2_misc.c ibcs2_signal.c
ibcs2_signal.h ibcs2_sysvec.c
sys/i386/linux linux.h linux_dummy.c linux_misc.c
linux_proto.h linux_signal.c
linux_sysent.c linux_sysvec.c
syscalls.master
sys/i386/svr4 svr4_machdep.c svr4_machdep.h
sys/svr4 svr4_misc.c svr4_signal.c svr4_signal.h
svr4_sysvec.c
Log:
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.
Revision Changes Path
1.34 +3 -3 src/sys/i386/ibcs2/ibcs2_misc.c
1.15 +50 -42 src/sys/i386/ibcs2/ibcs2_signal.c
1.5 +3 -0 src/sys/i386/ibcs2/ibcs2_signal.h
1.17 +4 -3 src/sys/i386/ibcs2/ibcs2_sysvec.c
1.38 +53 -40 src/sys/i386/linux/linux.h
1.16 +1 -2 src/sys/i386/linux/linux_dummy.c
1.74 +14 -8 src/sys/i386/linux/linux_misc.c
1.27 +15 -14 src/sys/i386/linux/linux_proto.h
1.19 +340 -287 src/sys/i386/linux/linux_signal.c
1.28 +2 -2 src/sys/i386/linux/linux_sysent.c
1.50 +51 -47 src/sys/i386/linux/linux_sysvec.c
1.26 +14 -12 src/sys/i386/linux/syscalls.master
1.9 +10 -8 src/sys/i386/svr4/svr4_machdep.c
1.4 +2 -2 src/sys/i386/svr4/svr4_machdep.h
1.7 +5 -6 src/sys/svr4/svr4_misc.c
1.5 +66 -57 src/sys/svr4/svr4_signal.c
1.5 +12 -3 src/sys/svr4/svr4_signal.h
1.7 +2 -5 src/sys/svr4/svr4_sysvec.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909291512.IAA59106>
