Date: Sat, 15 Jan 2000 07:38:18 -0800 (PST) From: Mark Newton <newton@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/svr4 svr4_signal.c svr4_signal.h Message-ID: <200001151538.HAA32668@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
newton 2000/01/15 07:38:18 PST Modified files: sys/svr4 svr4_signal.c svr4_signal.h Log: Fix handling of svr4_sigsets, which are implemented in SysVR4 as a sequence of 4 longs used as a bitmask. sv4r4_sigfillset has been broken for a while, probably since rev 1.5. This patch fixes SVR4_NSIG (i.e.: sets it to the actual number of signals, instead of the number of bits in the mask) because some SysVR4 clients honestly seem to care about whether bits in the signal mask are set for non-existant signals. Additionally, the svr4_sigfillset macro has been replaced by a fully fledged function, because the macro didn't actually work (it returned an all-ones mask, but we don't want that: we want 0's set where FreeBSD doesn't actually have a signal which is the same as an SysVR4 signal, for example). SysVR4 clients can now successfully ignore signals, although catching them remains problematic (see commit log message for rev1.13 of sys/i386/svr4/svr4_machdep.c for more info). Revision Changes Path 1.9 +51 -15 src/sys/svr4/svr4_signal.c 1.6 +2 -2 src/sys/svr4/svr4_signal.h 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?200001151538.HAA32668>