Subject: Disturbing behaviour on 1.6 without linux emulation
To: None <port-i386@netbsd.org, tech-kern@netbsd.org>
From: Feico Dillema <feico@pasta.cs.uit.no>
List: tech-kern
Date: 10/22/2002 16:08:09
Hi,
Just by accident discovered something weird on a NetBSD 1.6 i386 machine.
# date
Tue Oct 22 15:48:05 CEST 2002
# /usr/pkg/emul/linux/sbin/ldconfig
^C
# date
Thu Jan 1 01:00:02 CET 1970
This machine runs a kernel without linux emulation, and running the
linux ldconfig binary makes it go in an endless loop. The suprising
thing is that it also resets the date (only when executed as root).
This is reproducible.
I wonder whether this indicates a kernel bug (security?) that may have
corrupted other kernel memory also. (securelevel is at 1 on this
machine). Would do you think?
Feico.