Subject: settimeofday(2) bug
To: None <netbsd-bugs@NetBSD.org>
From: Matt Fleming <mattjfleming@googlemail.com>
List: netbsd-bugs
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 1.88.2.3

If there's any more information you think I should include, please let me know.
-- 
Thanks,
Matt

http://mattssanctuary.blogspot.com