Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 2019 13:23:16 +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-CTaC5rz0G8@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

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org,
                   |                            |kib@FreeBSD.org

--- Comment #2 from Ed Maste <emaste@freebsd.org> ---
kib, the test here does a

map =3D mmap(NULL, page, PROT_READ, MAP_FILE|MAP_PRIVATE, fd, 0);

then fork() and tries to access the mapping in the child. The test expects
SIGBUS but gets SIGSEGV. Perhaps the right change is to just expect SIGSEGV=
 on
FreeBSD but I wanted to check if you have an opinion on the choice of signa=
l.

--=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-CTaC5rz0G8>