summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys/t_dup.c
diff options
context:
space:
mode:
authorkettenis <>2020-10-21 16:26:28 +0000
committerkettenis <>2020-10-21 16:26:28 +0000
commit9356f37cbd4c43c53c3e08b1d8d65fd7ddf658ec (patch)
tree98a785c43fc167cf1acafdd9729c83c64add8481 /src/regress/lib/libc/sys/t_dup.c
parent4efa596772260c1dbc45e4bac1a19efaeffa3a7e (diff)
downloadopenbsd-9356f37cbd4c43c53c3e08b1d8d65fd7ddf658ec.tar.gz
openbsd-9356f37cbd4c43c53c3e08b1d8d65fd7ddf658ec.tar.bz2
openbsd-9356f37cbd4c43c53c3e08b1d8d65fd7ddf658ec.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/regress/lib/libc/sys/t_dup.c')
0 files changed, 0 insertions, 0 deletions