Subject: lib/35506: ps doesn't work on crash dumps, libkvm doesn't know about kauth
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Chuck Silvers <chuq@chuq.com>
List: netbsd-bugs
Date: 01/28/2007 22:10:00
>Number: 35506
>Category: lib
>Synopsis: ps doesn't work on crash dumps, libkvm doesn't know about kauth
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 28 22:10:00 +0000 2007
>Originator: Chuck Silvers
>Release: NetBSD 4.0_BETA2
>Organization:
me
>Environment:
Architecture: i386
Machine: i386
>Description:
ps doesn't work on crash dumps since the kernel switched to kauth
because libkvm still tries to read process credentials the pre-kauth way.
>How-To-Repeat:
run ps on a crash dump:
# ps -axl -N netbsd.0 -M netbsd.0.core
ps: can't read proc credentials at 0xc90d63e4: Undefined error: 0
>Fix:
teach libkvm about kauth.