OpenGrok
Cross Reference: proc_util.c
xref
: /
src
/
external
/
bsd
/
libproc
/
dist
/
proc_util.c
Home
|
History
|
Annotate
|
Download
|
only in
dist
History log of
/src/external/bsd/libproc/dist/proc_util.c
Revision
Date
Author
Comments
1.7
07-Dec-2019
kamil
Switch proc_getlwpstatus from PT_LWPINFO to PT_GET_SIGINFO for NetBSD
PT_LWPINFO from FreeBSD is almost never intended to be expressed with
PT_LWPINFO in NetBSD. PT_GET_SIGINFO reads siginfo_t with the signal
information about the event, on FreeBSD siginfo_t is merged into
ptrace_lwpinfo and returns the thread that received the event (not the
first one in a list like on NetBSD).
1.6
09-Jun-2017
chs
branches: 1.6.6;
add a proc_getmodel() interface to return whether a process
is a 32-bit or 64-bit process. the interface is from freebsd
but the implementation is different.
needed by dtrace.
1.5
01-Feb-2017
chs
implement proc_getlwpstatus() for netbsd using PT_GET_SIGINFO.
1.4
26-Apr-2016
chs
branches: 1.4.2; 1.4.4;
the netbsd version of PT_LWPINFO is different from the freebsd version
in that we use lp_lwpid as an input to say which lwp to operate on.
freebsd passes the lwpid as the pid, which works fine there
since freebsd has globally unique LWP IDs which are also distinct
from process IDs. the libproc interface that uses this ptrace() call
is only supposed to return info for the process's representative LWP,
so just initialize pl_lwpid to 1 before using it.
1.3
25-Sep-2015
christos
Fix the broken detach code and make the proc tests detach instead
of continue, so that we don't get kernel diagnostic messages about
detaching traced processes.
1.2
24-Sep-2015
christos
Add glue, adjust for NetBSD.
1.1
24-Sep-2015
christos
branches: 1.1.1;
Initial revision
1.1.1.1
24-Sep-2015
christos
Import libproc from FreeBSD
1.4.4.1
21-Apr-2017
bouyer
Sync with HEAD
1.4.2.1
20-Mar-2017
pgoyette
Sync with HEAD
1.6.6.1
08-Apr-2020
martin
Merge changes from current as of 20200406
Indexes created Tue Feb 24 08:35:24 UTC 2026