Subject: kern/950: bad "mount" arguments cause panic
To: None <gnats-admin@NetBSD.ORG>
From: None <drochner@zelux6.zel.kfa-juelich.de>
List: netbsd-bugs
Date: 04/10/1995 15:05:05
>Number:         950
>Category:       kern
>Synopsis:       bad "mount" arguments cause panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 10 15:05:03 1995
>Originator:     Matthias Drochner
>Organization:
	"KFA Juelich"
>Release:        1.0A (current of Mar 31)
>Environment:
	System: NetBSD zelz19 1.0A NetBSD 1.0A (GENERIC) #0: Fri Mar 31 21:23:07 MET DST 1995 drochner@zelz19:/mnt/usr/src/sys/arch/i386/compile/GENERIC i386

>Description:
	The problem has shown up after a mistake giving the arguments to
"mount". The first parts of source and target were identical:
mount zelnfs/... zelnfs   (Should be a nfs mount...)
This causes: "panic: locking against myself".

>How-To-Repeat:
	mkdir xxx
	mount xxx xxx
>Fix:
	One more parameter check?
>Audit-Trail:
>Unformatted: