summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorkettenis <>2020-10-21 16:26:28 +0000
committerkettenis <>2020-10-21 16:26:28 +0000
commita9540bd67ec5f006bee47892ddd57a679b353ba3 (patch)
tree98a785c43fc167cf1acafdd9729c83c64add8481 /src/lib
parent98a8d4e406fc605918198ca092f495a5800f197c (diff)
downloadopenbsd-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