Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Aug 2019 16:46:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        testing@freebsd.org
Subject:   [Bug 211924] lib/libc/sys/mmap_test:mmap_truncate_signal fails with SIGSEGV instead of SIGBUS
Message-ID:  <bug-211924-32464-fY1MPMnQfy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211924-32464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211924-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211924

--- Comment #3 from Konstantin Belousov <kib@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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211924-32464-fY1MPMnQfy>