Subject: kern/6479: SYSV* options partly broken in linux emulation
To: None <gnats-bugs@gnats.netbsd.org>
From: Urban Boquist <boquist@cs.chalmers.se>
List: netbsd-bugs
Date: 11/22/1998 15:17:53
>Number:         6479
>Category:       kern
>Synopsis:       simple defopt mistake
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 22 06:35:01 1998
>Last-Modified:
>Originator:     Urban Boquist
>Organization:
Dept. of CS, Chalmers, Sweden
>Release:        -current
>Environment:
	
System: NetBSD dogbert.cs.chalmers.se 1.3H NetBSD 1.3H (DOGBERT) #0: Thu Oct 8 21:03:09 CEST 1998 root@dogbert.cs.chalmers.se:/usr/src/sys/arch/i386/compile/DOGBERT i386


>Description:
A missing #include "opt_sysv.h" makes linux programs that use SysV shared
memory fail.
 >How-To-Repeat:
Try running linux quake2.
 >Fix:
--- linux_ipccall.c.orig	Sun Nov 22 14:22:45 1998
+++ linux_ipccall.c	Sun Nov 22 14:23:04 1998
@@ -36,6 +36,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include "opt_sysv.h"
+
 #include <sys/types.h>
 #include <sys/param.h>
 #include <sys/shm.h>

>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted: