diff options
author | kettenis <> | 2020-10-21 16:26:28 +0000 |
---|---|---|
committer | kettenis <> | 2020-10-21 16:26:28 +0000 |
commit | a9540bd67ec5f006bee47892ddd57a679b353ba3 (patch) | |
tree | 98a785c43fc167cf1acafdd9729c83c64add8481 /src/lib | |
parent | 98a8d4e406fc605918198ca092f495a5800f197c (diff) | |
download | openbsd-a9540bd67ec5f006bee47892ddd57a679b353ba3.tar.gz openbsd-a9540bd67ec5f006bee47892ddd57a679b353ba3.tar.bz2 openbsd-a9540bd67ec5f006bee47892ddd57a679b353ba3.zip |
On machines with a userland timecounter we bypass the gettimeofday(2)
syscall. So whenever we pass a bad address we get a SIGSEGV instead of
EFAULT. POSIX explicitly allows this behaviour. So adjust the test
to deal with this case.
ok deraadt@, millert@, guenther@
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions