bin/138146: [patch] w(1) and pkill(1) don't work on core files
without specifying -N
Bruce Cran
bruce at cran.org.uk
Mon Aug 24 19:30:01 UTC 2009
>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:
More information about the freebsd-bugs
mailing list