Date: Mon, 24 Aug 2009 19:28:42 GMT From: Bruce Cran <bruce@cran.org.uk> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/138146: [patch] w(1) and pkill(1) don't work on core files without specifying -N Message-ID: <200908241928.n7OJSgTF099754@www.freebsd.org> Resent-Message-ID: <200908241930.n7OJU1es063513@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908241928.n7OJSgTF099754>