summaryrefslogtreecommitdiffstats
path: root/freebsd/FreeBSDProcessList.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-10-21 19:11:19 +0200
committercgzones <cgzones@googlemail.com>2020-10-29 22:21:42 +0100
commit97ea45ca9a4ee639681e3048be4813b56c969bdd (patch)
tree456f1945722e253b04c8c9c21a3336b5b748c763 /freebsd/FreeBSDProcessList.h
parentc2fdfd99eb5bffee0f6d1e1838fb4708eac18425 (diff)
FreeBSD: update ProcessList
Diffstat (limited to 'freebsd/FreeBSDProcessList.h')
-rw-r--r--freebsd/FreeBSDProcessList.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/freebsd/FreeBSDProcessList.h b/freebsd/FreeBSDProcessList.h
index 81980415..e97444bd 100644
--- a/freebsd/FreeBSDProcessList.h
+++ b/freebsd/FreeBSDProcessList.h
@@ -8,10 +8,10 @@ in the source distribution for its full text.
*/
#include <kvm.h>
-#include <sys/param.h>
+#include <sys/param.h> // needs to be included before <sys/jail.h> for MAXPATHLEN
#include <sys/jail.h>
-#include <sys/uio.h>
#include <sys/resource.h>
+#include <sys/uio.h>
#include "FreeBSDProcess.h"
#include "Hashtable.h"
@@ -60,10 +60,6 @@ ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidMatchList, ui
void ProcessList_delete(ProcessList* this);
-char* FreeBSDProcessList_readProcessName(kvm_t* kd, struct kinfo_proc* kproc, int* basenameEnd);
-
-char* FreeBSDProcessList_readJailName(struct kinfo_proc* kproc);
-
void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate);
#endif