NetBSD Problem Report #20600
Received: (qmail 23442 invoked by uid 605); 6 Mar 2003 17:14:28 -0000
Message-Id: <200303061714.h26HEFI21682@cerumen.trpz.com>
Date: Thu, 6 Mar 2003 09:14:15 -0800 (PST)
From: djg@trpz.com
Sender: gnats-bugs-owner@netbsd.org
Reply-To: djg@trpz.com
To: gnats-bugs@gnats.netbsd.org
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
>Closed-Date:
>Last-Modified: Sat Mar 08 19:39:18 +0000 2003
>Originator: djg
>Release: NetBSD 1.6
>Organization:
Trapeze Networks
>Environment:
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
>Description:
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).
>How-To-Repeat:
set "sysctl -w kern.defcorename=/tmp/core/%n.core.%p"
the mount current and /tmp with nocoredump or not.
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->kern-bug-people
Responsible-Changed-By: fair
Responsible-Changed-When: Sat Mar 8 11:33:26 PST 2003
Responsible-Changed-Why:
badly formatted PR manually reformatted, and reassigned
to default responsible party for appropriate category.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.