SIGBUS si_code 12
Konstantin Belousov
kostikbel at gmail.com
Thu May 14 22:43:56 UTC 2020
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.
More information about the freebsd-hackers
mailing list