1
// Copyright 2014 Canonical Ltd.
2
// Licensed under the AGPLv3, see LICENCE file for details.
10
func sysctlVersion() (string, error) {
11
return syscall.Sysctl("kern.osrelease")
14
// readSeries returns the best approximation to what version this machine is.
15
func readSeries() (string, error) {
16
return macOSXSeriesFromKernelVersion(sysctlVersion)