Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2020 01:43:47 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Paul FLOYD <pjfloyd@wanadoo.fr>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: SIGBUS si_code 12
Message-ID:  <20200514224347.GB46537@kib.kiev.ua>
In-Reply-To: <490544208.11847.1589489181927.JavaMail.www@wwinf1n11>
References:  <2102917207.11671.1589487524169.JavaMail.www@wwinf1n11> <490544208.11847.1589489181927.JavaMail.www@wwinf1n11>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 14, 2020 at 10:46:21PM +0200, Paul FLOYD wrote:
> Hmm. Looking at the 12.1-stable siginfo manpage this seems to be fixed
> 
> SIGBUS BUS_ADRALN invalid address alignment
> BUS_ADRERR nonexistent physical address
> BUS_OBJERR object-specific hardware error
> BUS_OOMERR cannot alloc a page to map at fault
> 
> with this being added to signal.h
> 
> #define BUS_OOMERR 100 /* Non-standard: No memory. */
> 
> So presumably this will go away in 12.2.
I do not understand what do you mean.  What should go away ?

Also, T_PAGEFLT value for si_code is a compat value that should be
explicitly enabled by user, for compatibility with some really old
binaries.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200514224347.GB46537>