1. 09 Mar, 2016 1 commit
  2. 08 Mar, 2016 1 commit
  3. 07 Mar, 2016 8 commits
  4. 06 Mar, 2016 3 commits
    • Michael McConville's avatar
      A few more OpenBSD fixes · 4b780a34
      Michael McConville authored
      Namely:
      
       o use malloc where an xCalloc slipped in
      
       o safeguard against an empty arg list - I don't think it's possible,
         but it would be potentially exploitable
      
       o we need to initialize the arg string to an empty string because we no
       longer use strlcpy(3)
      
       o annotate a tricky use of strlcpy(3)'s truncation
      4b780a34
    • 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
    • Michael McConville's avatar
      Improve error reporting on FreeBSD libkvm call · b886ecc4
      Michael McConville authored
      This involves switching from kvm_open(3) to kvm_openfiles(3). The only
      difference is that the latter has saner error reporting (see the man
      page for details). We can now fatally report the error rather than just
      calling assert(3).
      b886ecc4
  5. 01 Mar, 2016 4 commits
  6. 29 Feb, 2016 1 commit
  7. 27 Feb, 2016 2 commits
  8. 20 Feb, 2016 1 commit
  9. 19 Feb, 2016 9 commits
  10. 18 Feb, 2016 4 commits
  11. 17 Feb, 2016 2 commits
  12. 16 Feb, 2016 3 commits
  13. 14 Feb, 2016 1 commit