SIGBUS si_code 12

Paul Floyd pjfloyd at wanadoo.fr
Fri May 15 06:35:58 UTC 2020



> On 15 May 2020, at 00:43, Konstantin Belousov <kostikbel at gmail.com> wrote:
> 
>> 
>> 
>> 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.

The undocumented behaviour of having a SIGBUS with an si_code that is normally for SIGSEGV.

From what I’ve seen BUS_OOMERR will be used instead.

A+
Paul



More information about the freebsd-hackers mailing list