func GetKernelVersion() (*VersionInfo, error) {
	uts, err := uname()
	if err != nil {
		return nil, err
	}
	release := make([]byte, len(uts.Release))
	i := 0
	for _, c := range uts.Release {
		release[i] = byte(c)
		i++
	}
	release = release[:bytes.IndexByte(release, 0)]
	return ParseRelease(string(release))
}
GetKernelVersion gets the current kernel version.
package kernel
import (
	"bytes"
	"github.com/sirupsen/logrus"
)