From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 24 19:30:01 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B5011065690 for ; Mon, 24 Aug 2009 19:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 791278FC19 for ; Mon, 24 Aug 2009 19:30:01 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7OJU1rg063514 for ; Mon, 24 Aug 2009 19:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7OJU1es063513; Mon, 24 Aug 2009 19:30:01 GMT (envelope-from gnats) Resent-Date: Mon, 24 Aug 2009 19:30:01 GMT Resent-Message-Id: <200908241930.n7OJU1es063513@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bruce Cran Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06CB8106568B for ; Mon, 24 Aug 2009 19:28:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D10ED8FC2E for ; Mon, 24 Aug 2009 19:28:42 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7OJSg7c099755 for ; Mon, 24 Aug 2009 19:28:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7OJSgTF099754; Mon, 24 Aug 2009 19:28:42 GMT (envelope-from nobody) Message-Id: <200908241928.n7OJSgTF099754@www.freebsd.org> Date: Mon, 24 Aug 2009 19:28:42 GMT From: Bruce Cran To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/138146: [patch] w(1) and pkill(1) don't work on core files without specifying -N X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 19:30:01 -0000 >Number: 138146 >Category: bin >Synopsis: [patch] w(1) and pkill(1) don't work on core files without specifying -N >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 24 19:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Bruce Cran >Release: 8.0-BETA3 >Organization: >Environment: >Description: w(1) and pkill(3) don't work on core files unless -N is specified because they initialize the execfile option to kvm_open or kvm_openfiles to "/dev/null" when it should be NULL. >How-To-Repeat: run 'w' or 'pkill' with the '-M' option without specifying '-N'. >Fix: http://www.cran.org.uk/~brucec/freebsd/pkill.c.diff http://www.cran.org.uk/~brucec/freebsd/w.c.diff >Release-Note: >Audit-Trail: >Unformatted: