• Michael McConville's avatar
    Misc. OpenBSD tuneup and improvement · b08cb735
    Michael McConville authored
    Including:
    
     o set *basenameEnd even in error cases (FreeBSD probably needs this)
    
     o use kvm_openfiles(3) rather than kvm_open(3) so that we can report
       errors (as with FreeBSD)
    
     o sanify the process argument list creation by using strlcat(3)
    
     o drop the pageSizeKb variable and use the PAGE_SIZE_KB macro directly,
       as the page size can't change anyway
    
     o clean up a few macros, add MINIMUM() and MAXIMUM() (should be
       mirrored to FreeBSD)
    
     o fix some syntax
    
     o add some useful comments
    b08cb735
OpenBSDProcessList.h 1.23 KB