Subject: kern/8111: compat/aout causes lossage with LKM syscalls
To: None <gnats-bugs@gnats.netbsd.org>
From: Charles M. Hannum <root@ihack.net>
List: netbsd-bugs
Date: 07/28/1999 23:01:58
>Number:         8111
>Category:       kern
>Synopsis:       compat/aout causes lossage with LKM syscalls
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 28 22:20:01 1999
>Last-Modified:
>Originator:     Charles M. Hannum
>Organization:
        Internetwork Hacker
>Release:        -current as of 19990719
>Environment:
        i386


>Description:
	The `emulation' method used by compat/aout causes a.out
	executables relying on LKM syscalls to break -- even if the
	entire system is still using a.out.

>How-To-Repeat:
	Build a recent kernel.  modload the AFS module.  Try to run
	any a.out executables using the AFS syscall -- such as afsd.
	Watch them core dump.

>Fix:
	Kill compat/aout.

>Audit-Trail:
>Unformatted: