summaryrefslogtreecommitdiff
path: root/pkg/util/utils_freebsd.go
diff options
context:
space:
mode:
authorDoug Rabson <dfr@rabson.org>2022-05-08 12:54:05 +0100
committerDoug Rabson <dfr@rabson.org>2022-08-13 07:53:34 +0100
commitb806e9f360c5a502c59f51d6ea43ce990a577e5e (patch)
treefc89531d2aa3f41235a37fb327aae9ecdafa860c /pkg/util/utils_freebsd.go
parent6df0ceb9a2100948f9be7fb722772d9a7f25c081 (diff)
downloadpodman-b806e9f360c5a502c59f51d6ea43ce990a577e5e.tar.gz
podman-b806e9f360c5a502c59f51d6ea43ce990a577e5e.tar.bz2
podman-b806e9f360c5a502c59f51d6ea43ce990a577e5e.zip
pkg: Build pkg/util on FreeBSD
Remove freebsd from the unsupported list and add missing symbols. [NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson <dfr@rabson.org>
Diffstat (limited to 'pkg/util/utils_freebsd.go')
-rw-r--r--pkg/util/utils_freebsd.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/util/utils_freebsd.go b/pkg/util/utils_freebsd.go
new file mode 100644
index 000000000..17436ae81
--- /dev/null
+++ b/pkg/util/utils_freebsd.go
@@ -0,0 +1,12 @@
+//go:build freebsd
+// +build freebsd
+
+package util
+
+import (
+ "errors"
+)
+
+func GetContainerPidInformationDescriptors() ([]string, error) {
+ return []string{}, errors.New("this function is not supported on freebsd")
+}