CVSROOT: /cvs Module name: src Changes by: kette...@cvs.openbsd.org 2020/10/21 10:26:28
Modified files: regress/lib/libc/sys: t_gettimeofday.c Log message: 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@