From: Mike F. <va...@ge...> - 2006-08-22 06:43:36
|
On Tuesday 22 August 2006 02:31, Yi CDL Yang wrote: > ENOSYS means the syscall itself isn't implemented, but EINVAL means a > specific clock isn't implemented or supported, yes and no ... EINVAL is returned if the specific clock is not implemented,= =20 but the problem is that EINVAL is used for more than just the clock type;=20 it's also used for checking the parameters given to it ... so if you were t= o=20 call the kernel with a clock that is implemented but with bogus parameters,= =20 you'd get back EINVAL or, if the kernel itself had a broken check and it returned EINVAL when it= =20 should not have, you'd get a bogus PASS with your proposed changes timer_create() is a POSIX function with a defined interface ... if linux do= es=20 not conform to that interface (regardless of the reason), it is a test=20 failure ... the fact linux has not yet implemented said features does not=20 matter =2Dmike |