#
1826c369 |
| 07-Dec-2019 |
kamil <kamil@NetBSD.org> |
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
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).
show more ...
|
#
49f0a76d |
| 09-Jun-2017 |
chs <chs@NetBSD.org> |
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.
|
#
b222cea9 |
| 01-Feb-2017 |
chs <chs@NetBSD.org> |
implement proc_getlwpstatus() for netbsd using PT_GET_SIGINFO.
|
#
cba709e3 |
| 26-Apr-2016 |
chs <chs@NetBSD.org> |
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
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.
show more ...
|
#
800ae963 |
| 25-Sep-2015 |
christos <christos@NetBSD.org> |
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.
|
#
52ebe1c2 |
| 24-Sep-2015 |
christos <christos@NetBSD.org> |
Add glue, adjust for NetBSD.
|
#
fbcd1dd1 |
| 24-Sep-2015 |
christos <christos@NetBSD.org> |
Import libproc from FreeBSD
|