Skip to content
  • Matthew D Fleming's avatar
    Re-add r212370 now that the LOR in powerpc64 has been resolved: · 4e657159
    Matthew D Fleming authored
    Add a drain function for struct sysctl_req, and use it for a variety
    of handlers, some of which had to do awkward things to get a large
    enough SBUF_FIXEDLEN buffer.
    
    Note that some sysctl handlers were explicitly outputting a trailing
    NUL byte.  This behaviour was preserved, though it should not be
    necessary.
    
    Reviewed by:    phk (original patch)
    4e657159