FreeBSD: update ProcessList

This commit is contained in:
Christian Göttsche
2020-10-21 19:11:19 +02:00
committed by cgzones
parent c2fdfd99eb
commit 97ea45ca9a
2 changed files with 8 additions and 12 deletions

View File

@ -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