From owner-freebsd-current Sat Oct 2 16:57: 6 1999 Delivered-To: freebsd-current@freebsd.org Received: from cs.rice.edu (cs.rice.edu [128.42.1.30]) by hub.freebsd.org (Postfix) with ESMTP id 43E55154E1; Sat, 2 Oct 1999 16:56:29 -0700 (PDT) (envelope-from alc@cs.rice.edu) Received: (from alc@localhost) by cs.rice.edu (8.9.0/8.9.0) id SAA20614; Sat, 2 Oct 1999 18:56:17 -0500 (CDT) Date: Sat, 2 Oct 1999 18:56:17 -0500 From: Alan Cox To: Bruce Evans Cc: John Polstra , "David O'Brien" , current@freebsd.org Subject: Re: Now that sigcontext is gone ... Message-ID: <19991002185617.L19202@cs.rice.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5us In-Reply-To: ; from Bruce Evans on Sun, Oct 03, 1999 at 09:42:45AM +1000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Oct 03, 1999 at 09:42:45AM +1000, Bruce Evans wrote: > > I think the POSIX way is to use an auxiliary error code in siginfo_t to > distinguish the causes of the signal. This only works for SA_SIGINFO > handlers. We do something similar using the signal code of 3-arg signal > handlers. > From Solaris 2.6 _AND_ Digital Unix 4.0E: _________________________________________________________ Signal Code Definition _________________________________________________________ SIGSEGV SEGV_MAPERR address not mapped to object SEGV_ACCERR invalid permissions for mapped object SIGBUS BUS_ADRALN invalid address alignment BUS_ADRERR non-existent physical address BUS_OBJERR object specific hardware error To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message