cvs commit: src/bin/kenv kenv.c

David Schultz das at FreeBSD.org
Tue Apr 27 18:27:37 PDT 2004


das         2004/04/27 18:27:36 PDT

  FreeBSD src repository

  Modified files:
    bin/kenv             kenv.c 
  Log:
  Various quibbles:
  - Print a diagnostic if kdumpenv() fails.  This can occur due to MAC
    restrictions or lack of memory.  Catch all kenv(2) failures as well.
  - Just of the heck of it, DTRT if the kernel environment size changes
    at the wrong time.  The old code could fail silently or fail to
    null-terminate a buffer if you got exceptionally unlucky.
  - Sort and GC the #includes.
  
  Revision  Changes    Path
  1.6       +28 -15    src/bin/kenv/kenv.c


More information about the cvs-src mailing list