Sundry janitorial work on syscall buffer code.