summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Rabson <dfr@rabson.org>2022-05-08 12:58:12 +0100
committerDoug Rabson <dfr@rabson.org>2022-08-16 08:10:31 +0100
commita68e6ddbb9b2690dd82b09214d50d6b91dc6d673 (patch)
treed07c0931631df81660f08c929bb6e0ed0be1e5f1
parentd36f3952d4f4f05d8411ad3d14e9d5b6c1814701 (diff)
downloadpodman-a68e6ddbb9b2690dd82b09214d50d6b91dc6d673.tar.gz
podman-a68e6ddbb9b2690dd82b09214d50d6b91dc6d673.tar.bz2
podman-a68e6ddbb9b2690dd82b09214d50d6b91dc6d673.zip
utils: Add missing symbols for FreeBSD
[NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson <dfr@rabson.org>
-rw-r--r--utils/utils_freebsd.go22
1 files changed, 22 insertions, 0 deletions
diff --git a/utils/utils_freebsd.go b/utils/utils_freebsd.go
new file mode 100644
index 000000000..d239e9a5d
--- /dev/null
+++ b/utils/utils_freebsd.go
@@ -0,0 +1,22 @@
+//go:build freebsd
+// +build freebsd
+
+package utils
+
+import "errors"
+
+func RunUnderSystemdScope(pid int, slice string, unitName string) error {
+ return errors.New("not implemented for freebsd")
+}
+
+func MoveUnderCgroupSubtree(subtree string) error {
+ return errors.New("not implemented for freebsd")
+}
+
+func GetOwnCgroup() (string, error) {
+ return "", errors.New("not implemented for freebsd")
+}
+
+func GetCgroupProcess(pid int) (string, error) {
+ return "", errors.New("not implemented for freebsd")
+}