summaryrefslogtreecommitdiff
path: root/pkg/cgroups/cgroups_unsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/cgroups/cgroups_unsupported.go')
-rw-r--r--pkg/cgroups/cgroups_unsupported.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/cgroups/cgroups_unsupported.go b/pkg/cgroups/cgroups_unsupported.go
index 9dc196e42..cd140fbf3 100644
--- a/pkg/cgroups/cgroups_unsupported.go
+++ b/pkg/cgroups/cgroups_unsupported.go
@@ -6,3 +6,9 @@ package cgroups
func IsCgroup2UnifiedMode() (bool, error) {
return false, nil
}
+
+// UserOwnsCurrentSystemdCgroup checks whether the current EUID owns the
+// current cgroup.
+func UserOwnsCurrentSystemdCgroup() (bool, error) {
+ return false, nil
+}