Subject: lib/36182: libkvm/sysctl needs updating
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <ad@netbsd.org>
List: netbsd-bugs
Date: 04/20/2007 21:30:01
>Number:         36182
>Category:       lib
>Synopsis:       libkvm/sysctl needs updating
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 20 21:30:01 +0000 2007
>Originator:     Andrew Doran
>Release:        NetBSD 4.99.17
>Organization:
The NetBSD Project
>Environment:
N/A
>Description:
[Resending - the web form ate my earlier PR]

1. libkvm needs updating after the newlock2 merge to read from crashdumps
   correctly. One area that needs attention is mapping from the kernel flags
   in struct proc/lwp to the compatibility flags.

2. A number of flags that are only set at the process level (e.g. L_INMEM)
   should be set on LWPs.

3. In general, a fuller audit should be done to make sure that it's up to date
   with the latest kernel changes.
>How-To-Repeat:
Code inspection.
>Fix:
Described above.