From owner-freebsd-emulation Wed May 5 12: 5:38 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from rah.star-gate.com (rah.star-gate.com [209.249.129.138]) by hub.freebsd.org (Postfix) with ESMTP id 283EF14BFC for ; Wed, 5 May 1999 12:05:33 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.9.3/8.8.8) with ESMTP id MAA10233; Wed, 5 May 1999 12:04:59 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199905051904.MAA10233@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Mike Smith Cc: Leigh Hart , emulation@FreeBSD.ORG Subject: Re: ViaVoice... In-reply-to: Your message of "Wed, 05 May 1999 11:50:59 PDT." <199905051850.LAA01320@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 05 May 1999 12:04:59 -0700 From: Amancio Hasty Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You have a good idea go for it . I think that is going to bring a lot of headaches mapping unsupported signals (singals greater than 32) for perhaps the few applications that use them. > > > > The changes look straight forward except that Linux's _NSIG is 64 :( > > *shrug* so pack/unpack it in the emulator. Still straightforward. > > > > > > > Okay, whats rt_signal I presume that it means real time signals and if so > > > > do we have a BSD counterpart ? > > > > > > Your access to the Linux source is just as open as mine. 8) > > > > > > > > > 21258 audiog CALL #174 > > > ... > > > > > #174 is sys_rt_sigaction. Ok, who's up for some more hacking? 8) > > > > > > Basically it's just the old sigaction syscall with an extra argument > > > (the size of the sigaction struct). However, they more or less ignore > > > the size (the call just fails when it doesn't match). > > > > > > Look at linux/arch/i386/kernel/signal.c for the old sigaction and > > > linux/kernel/signal.c for the new one, and then patch our > > > linux_signal.c accordingly. > > > > > > -- > > > \\ Sometimes you're ahead, \\ Mike Smith > > > \\ sometimes you're behind. \\ mike@smith.net.au > > > \\ The race is long, and in the \\ msmith@freebsd.org > > > \\ end it's only with yourself. \\ msmith@cdrom.com > > > > > > > > > > -- > > > > Amancio Hasty > > hasty@star-gate.com > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-emulation" in the body of the message > > > > -- > \\ Sometimes you're ahead, \\ Mike Smith > \\ sometimes you're behind. \\ mike@smith.net.au > \\ The race is long, and in the \\ msmith@freebsd.org > \\ end it's only with yourself. \\ msmith@cdrom.com > > -- Amancio Hasty hasty@star-gate.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message