Solaris: get completely out of the file handling business using libproc

This commit is contained in:
Guy M. Broome
2018-03-28 12:48:37 -04:00
committed by Hisham Muhammad
parent 4ba06c51e5
commit 45fad05b4a
5 changed files with 127 additions and 197 deletions

View File

@ -15,7 +15,6 @@ in the source distribution for its full text.
#include <kstat.h>
#include <sys/param.h>
#include <zone.h>
#include <sys/uio.h>
#include <sys/resource.h>
#include <sys/sysconf.h>
@ -51,7 +50,9 @@ ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList, ui
void ProcessList_delete(ProcessList* this);
void ProcessList_enumerateLWPs(Process* proc, char* name, ProcessList* pl, struct timeval tv);
void ProcessList_enumerateLWPs(Process* proc, ProcessList* pl, lwpsinfo_t *_lwpsinfo, struct timeval tv);
int SolarisProcessList_walkproc(psinfo_t *_psinfo, lwpsinfo_t *_lwpsinfo, void *listptr);
void ProcessList_goThroughEntries(ProcessList* this);