summaryrefslogtreecommitdiff
path: root/pkg/cgroups/cgroups_unsupported.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-09-12 19:04:07 +0200
committerGitHub <noreply@github.com>2019-09-12 19:04:07 +0200
commit8c3349bc08b6f4e48751f61dd342cbf9828eca85 (patch)
treea9f5e374cb1060a0ef6577436b6bf24b783764c3 /pkg/cgroups/cgroups_unsupported.go
parent2de49870861be00cbd92108a1642796170a0aad1 (diff)
parent7e88bf7fd0207783e8feecb7ec7206df96897f4e (diff)
downloadpodman-8c3349bc08b6f4e48751f61dd342cbf9828eca85.tar.gz
podman-8c3349bc08b6f4e48751f61dd342cbf9828eca85.tar.bz2
podman-8c3349bc08b6f4e48751f61dd342cbf9828eca85.zip
Merge pull request #3959 from giuseppe/rootless-use-systemd-scope
rootless: automatically create a systemd scope
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
+}