From owner-cvs-all Wed Sep 29 8:12:23 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7F8BE14DB4; Wed, 29 Sep 1999 08:12:19 -0700 (PDT) (envelope-from marcel@FreeBSD.org) Received: (from marcel@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA59106; Wed, 29 Sep 1999 08:12:19 -0700 (PDT) (envelope-from marcel@FreeBSD.org) Message-Id: <199909291512.IAA59106@freefall.freebsd.org> From: Marcel Moolenaar Date: Wed, 29 Sep 1999 08:12:18 -0700 (PDT) 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 ... Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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