Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Sep 2019 12:54:00 +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-IbLRJmPeda@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=211924

--- Comment #6 from Konstantin Belousov <kib@FreeBSD.org> ---
(In reply to Jilles Tjoelker from comment #5)
I believe we are compliant with the behavior for the partial page.  We always
zero-fill invalid parts of the partially-valid pages that are mapped into
userspace.

Was there a history behind the SIGBUS requirement ?  I believe that the change
for SIGBUS->SIGSEGV came with r151316, and I cannot remember such explicit
language at that time.

Anyway, I am certain that we do not want to change the signal definitions back,
because there are programs that depend on it and which already did the switch
to accommodate to the change.

-- 
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-IbLRJmPeda>