[Bug 211924] lib/libc/sys/mmap_test:mmap_truncate_signal fails with SIGSEGV instead of SIGBUS
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Aug 2 16:46:52 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211924
--- Comment #3 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to Ed Maste from comment #2)
We return SIGSEGV/SEGV_MAPERR, which is explained by POSIX as
'Address not mapped to object', which it is.
FreeBSD used to deliver SIGBUS in this situation, but it was rightfully
corrected
to SIGSEGV by davidxu AFAIR, and then I introduced compat sysctls to select
the specific signal to deliver. See the story in PR 118304.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-testing
mailing list