summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-ecdsa.c
diff options
context:
space:
mode:
authormatthew <matthew@openbsd.org>2014-06-23 21:10:03 +0000
committermatthew <matthew@openbsd.org>2014-06-23 21:10:03 +0000
commit4709a9325b4e91b34c53ddeaafe50dd23f737787 (patch)
tree4a733721fbf71de07477ec0992fe150e35bbdf68 /usr.bin/ssh/ssh-ecdsa.c
parentgcc4: emit warning when ignoring alignment constraints (diff)
downloadwireguard-openbsd-4709a9325b4e91b34c53ddeaafe50dd23f737787.tar.xz
wireguard-openbsd-4709a9325b4e91b34c53ddeaafe50dd23f737787.zip
Add regress test for SIGSEGV and SIGBUS siginfo semantics.
According to POSIX, SIGSEGV should specify SEGV_ACCERR if the memory pages are mapped, but the protections don't match the user's access attempts, while SEGV_MAPERR should only be specified for pages that are unmapped. Some platforms currently handle this correctly, but not all. Additionally, SIGBUS/BUS_ADRERR should be generated instead of SIGSEGV for access to file mapped pages that exceed the end of the file. (Thanks to kettenis@ for suggesting this test.) Currently failing, so not linked into the regress tree yet.
Diffstat (limited to 'usr.bin/ssh/ssh-ecdsa.c')
0 files changed, 0 insertions, 0 deletions