Subject: settimeofday(2) bug
To: None <netbsd-bugs@NetBSD.org>
From: Matt Fleming <firstname.lastname@example.org>
Date: 08/16/2006 17:36:44
Whilst writing a regression test-suite for further kauth(9) work I
stumbled across this bug.
When the securelevel is set to 2 and the superuser tries to set the
time backwards (which should fail: Operation not permitted) the 'date'
program hangs. This has been found on NetBSD 3.0.1
src/lib/libc/sys/settimeofday.c rev 1.6
src/sys/kern/kern_time.c rev 220.127.116.11
If there's any more information you think I should include, please let me know.