aboutsummaryrefslogtreecommitdiff
path: root/pkg/cgroups/cgroups_unsupported.go
blob: cd140fbf3c933122d4cb639026037ce0308fbcf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// +build !linux

package cgroups

// IsCgroup2UnifiedMode returns whether we are running in cgroup 2 cgroup2 mode.
func IsCgroup2UnifiedMode() (bool, error) {
	return false, nil
}

// UserOwnsCurrentSystemdCgroup checks whether the current EUID owns the
// current cgroup.
func UserOwnsCurrentSystemdCgroup() (bool, error) {
	return false, nil
}