From: Kumar G. <ga...@ke...> - 2007-10-17 14:33:36
|
The gettimeofday01 of day test behaves differently on PPC depending if we have VDSO (virtual dynamic shared object) support for gettimeofday or if we use the old syscall. With the old syscall the test behaves as expected when do: TEST(gettimeofday((void *)-1, (void *)-1)); we expect ERRNO == EFAULT. With the syscall case we get a SIGSEGV since all the code is effectively run in userspace. I was wondering what suggestions or modifications to the test could be made to handle the different cases. (Fedora 7 on ppc64 is using the syscall instead of vDSO for some reason which is a different issue altogether) - k |