summaryrefslogtreecommitdiff
path: root/pkg/util/utils_unsupported.go
blob: f8d5a37c1f153e63e59fd74ca65c676aedd35ae8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// +build darwin windows

package util

import (
	"github.com/pkg/errors"
)

// FindDeviceNodes is not implemented anywhere except Linux.
func FindDeviceNodes() (map[string]string, error) {
	return nil, errors.Errorf("not supported on non-Linux OSes")
}

// CheckRootlessUIDRange is not implemented anywhere except Linux.
func CheckRootlessUIDRange(uid int) error {
	return nil
}