diff options
author | Mark Johnston <markj@FreeBSD.org> | 2016-07-30 03:07:14 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2016-07-30 03:07:14 +0000 |
commit | 700244a246427d903ba6a6135b9c2bd920a24d03 (patch) | |
tree | 948c4e37b3575a9b110aebf1462f5453401d78f0 /lib/libproc | |
parent | a7e13d50fec313d1f7ea817f6442836cee6d3095 (diff) | |
download | src-test-700244a246427d903ba6a6135b9c2bd920a24d03.tar.gz src-test-700244a246427d903ba6a6135b9c2bd920a24d03.zip |
Add descriptions for fields in struct proc_handle.
Remove the unused kq field and some unnecessary includes.
MFC after: 1 month
Notes
Notes:
svn path=/head/; revision=303532
Diffstat (limited to 'lib/libproc')
-rw-r--r-- | lib/libproc/_libproc.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/lib/libproc/_libproc.h b/lib/libproc/_libproc.h index ffc89cfdad837..0ab3251e55b8f 100644 --- a/lib/libproc/_libproc.h +++ b/lib/libproc/_libproc.h @@ -26,27 +26,24 @@ * $FreeBSD$ */ -#include <sys/cdefs.h> -#include <sys/param.h> #include <sys/types.h> -#include <sys/event.h> #include <sys/ptrace.h> + #include <rtld_db.h> #include "libproc.h" struct proc_handle { pid_t pid; /* Process ID. */ - int kq; /* Kernel event queue ID. */ int flags; /* Process flags. */ int status; /* Process status (PS_*). */ int wstat; /* Process wait status. */ rd_agent_t *rdap; /* librtld_db agent */ - rd_loadobj_t *rdobjs; - size_t rdobjsz; - size_t nobjs; - struct lwpstatus lwps; - rd_loadobj_t *rdexec; /* rdobj index of program executable. */ + rd_loadobj_t *rdobjs; /* Array of loaded objects. */ + size_t rdobjsz; /* Array size. */ + size_t nobjs; /* Num. objects currently loaded. */ + rd_loadobj_t *rdexec; /* rdobj for program executable. */ + struct lwpstatus lwps; /* Process status. */ char execname[MAXPATHLEN]; /* Path to program executable. */ }; |