Subject: kern/14409: can not run old binaries without pain.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mrg@cygnus.com>
List: netbsd-bugs
Date: 10/31/2001 11:38:42
>Number:         14409
>Category:       kern
>Synopsis:       can not run old binaries without pain.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 30 16:39:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     matthew green
>Release:        NetBSD 1.5Y
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:
	
	
System: NetBSD fish-dances.eterna.com.au 1.5Y NetBSD 1.5Y (_fish_) #88: Thu Oct 25 01:04:27 EST 2001 mrg@fish-dances.eterna.com.au:/var/_fish_ i386
Architecture: i386
Machine: i386
>Description:

	a binary i have (that i do not have the sources to) no longer
	runs on my netbsd box.  i assume this is caused by lack of
	options EXEC_ELF_CATCHALL, as the binary has no NetBSD note,
	and file calls it:

ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), not stripped

	but i haven't rebuild my kernel yet to ensure... (the machine
	is busy)

	actually, this option doesn't appear to be in options(4) at all.
	i found out via other methods...

>How-To-Repeat:

	upgrade netbsd.  attempt to run old binary.  lose.

>Fix:

	add a sysctl to enable the old behaviour so i don't have to
	rebuild my kernel.
>Release-Note:
>Audit-Trail:
>Unformatted: