Subject: port-i386/6183: linux sigaction compat spits out on console without DEBUG
To: None <gnats-bugs@gnats.netbsd.org>
From: John Kohl <jtk@kolvir.arlington.ma.us>
List: netbsd-bugs
Date: 09/20/1998 21:43:42
>Number:         6183
>Category:       port-i386
>Synopsis:       linux sigaction compat spits out on console without DEBUG
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 20 18:50:00 1998
>Last-Modified:
>Originator:     John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release:        NetBSD-current, 1998/09/19
>Environment:
	
System: NetBSD kolvir.arlington.ma.us 1.3H NetBSD 1.3H (KOLVIR) #139: Fri Sep 18 21:49:13 EDT 1998 jtk@kolvir.arlington.ma.us:/u4/sandbox/src/sys/arch/i386/compile/KOLVIR i386


>Description:
	The linux signal compatibility code (sys/compat/linux/linux_signal.c)
contains at least two printf's which are not protected by DEBUG or
DIAGNOSTIC or something else.

One of them is triggered by Netscape 4.5 preview:
	linux_to_native_sigaction: sa_restorer ignored

>How-To-Repeat:
Run the i386 linux Netscape 4.5 preview

>Fix:
put them under #ifdef DEBUG or DIAGNOSTIC short term
properly emulate them longer term
>Audit-Trail:
>Unformatted: