svn commit: r303532 - head/lib/libproc
Mark Johnston
markj at FreeBSD.org
Sat Jul 30 03:07:15 UTC 2016
Author: markj
Date: Sat Jul 30 03:07:14 2016
New Revision: 303532
URL: https://svnweb.freebsd.org/changeset/base/303532
Log:
Add descriptions for fields in struct proc_handle.
Remove the unused kq field and some unnecessary includes.
MFC after: 1 month
Modified:
head/lib/libproc/_libproc.h
Modified: head/lib/libproc/_libproc.h
==============================================================================
--- head/lib/libproc/_libproc.h Sat Jul 30 03:05:23 2016 (r303531)
+++ head/lib/libproc/_libproc.h Sat Jul 30 03:07:14 2016 (r303532)
@@ -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. */
};
More information about the svn-src-head
mailing list