Subject: port-amiga/2355: 'options INSECURE' not listed in GENERIC
To: None <gnats-bugs@NetBSD.ORG>
From: Donald J. Maddox <dmaddox@scsn.net>
List: netbsd-bugs
Date: 04/28/1996 15:20:52
>Number:         2355
>Category:       port-amiga
>Synopsis:       GENERIC does not list 'options INSECURE'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 29 16:05:01 1996
>Last-Modified:
>Originator:     Donald J. Maddox
>Organization:
                                          Donald J. Maddox
                                          dmaddox@scsn.net
>Release:        1.1
>Environment:
	
System: NetBSD rhiannon.scsn.net 1.1B NetBSD 1.1B (RHIANNON) #27: Sat Apr 27 17:48:59 EDT 1996 dmaddox@rhiannon.scsn.net:/usr/src/sys/arch/amiga/compile/RHIANNON amiga
Architecture: amiga

>Description:

	The GENERIC configuration says that it contains all possible 
options, but 'options INSECURE' is not listed.  This is a fairly serious 
problem because if one tries to load an lkm (for example, the amiga audio 
driver lkm) on a running system using a kernel compiled without 'options 
INSECURE', it will fail in a way that is totally inexplicable if you are 
not aware of this option's existence and purpose.

>How-To-Repeat:

	N/A

>Fix:
	The following patch will at least serve to document the existence 
of the 'INSECURE' option:

*** GENERIC.orig	Sun Apr 28 14:53:21 1996
--- GENERIC	Sun Apr 28 14:57:26 1996
***************
*** 88,93 ****
--- 88,94 ----
  options		GENERIC		# Mini-root boot support
  options		LKM		# Loadable kernel modules
  options		"NKMEMCLUSTERS=256"	# Size of kernel malloc area
+ #options		INSECURE	# Allow loading lkm's at runlevel > 0
  
  #
  # Misc. debuging options

>Audit-Trail:
>Unformatted: