NetBSD Problem Report #20600

Received: (qmail 23442 invoked by uid 605); 6 Mar 2003 17:14:28 -0000
Message-Id: <>
Date: Thu, 6 Mar 2003 09:14:15 -0800 (PST)
Subject: coredump makes incorrect MNT_NOCOREDUMP check
X-Send-Pr-Version: 3.95

>Number:         20600
>Category:       kern
>Synopsis:       coredump makes incorrect MNT_NOCOREDUMP check
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 06 17:15:00 +0000 2003
>Last-Modified:  Sat Mar 08 19:39:18 +0000 2003
>Originator:     djg
>Release:        NetBSD 1.6
Trapeze Networks
 System: NetBSD cerumen 1.6 NetBSD 1.6 (GENERIC) #1: Fri Oct 4 10:33:23 PDT 2002 root@cerumen:/usr/NetBSD1.6/NetBSD/usr/src/sys/arch/i386/compile/GENERIC i386
 Architecture: i386
 Machine: i386

	kern_sig.c:coredump() checks the mount point for the current
	directory for MNT_NOCOREDUMP before it constructs the name
	of coredump, which can be on a different file system (which
	very likely the case on embedded systems).

	It should construct the name first and then check (somehow
	before opening it).

 	set "sysctl -w kern.defcorename=/tmp/core/%n.core.%p"
 	the mount current and /tmp with nocoredump or not.
Responsible-Changed-From-To: gnats-admin->kern-bug-people 
Responsible-Changed-By: fair 
Responsible-Changed-When: Sat Mar 8 11:33:26 PST 2003 
badly formatted PR manually reformatted, and reassigned 
to default responsible party for appropriate category. 

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.