Subject: kern/6479: SYSV* options partly broken in linux emulation
To: None <>
From: Urban Boquist <>
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
>Originator:     Urban Boquist
Dept. of CS, Chalmers, Sweden
>Release:        -current
System: NetBSD 1.3H NetBSD 1.3H (DOGBERT) #0: Thu Oct 8 21:03:09 CEST 1998 i386

A missing #include "opt_sysv.h" makes linux programs that use SysV shared
memory fail.
Try running linux quake2.
--- 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 @@
+#include "opt_sysv.h"
 #include <sys/types.h>
 #include <sys/param.h>
 #include <sys/shm.h>