summaryrefslogtreecommitdiff
path: root/libpod/oci_conmon_common.go
diff options
context:
space:
mode:
authorDoug Rabson <dfr@rabson.org>2022-08-17 09:43:43 +0100
committerDoug Rabson <dfr@rabson.org>2022-08-18 08:07:30 +0100
commit054d64710736250c4d238e159884c1588eb7218a (patch)
tree76fe35d37b5683c7cf116ebda10644801d7b5ddb /libpod/oci_conmon_common.go
parentcb4158889e7a115b4d8bb77c76cc99032d5e8363 (diff)
downloadpodman-054d64710736250c4d238e159884c1588eb7218a.tar.gz
podman-054d64710736250c4d238e159884c1588eb7218a.tar.bz2
podman-054d64710736250c4d238e159884c1588eb7218a.zip
libpod: Build oci_conmon_common.go and oci_conmon_attach_common on FreeBSD
This also adds FreeBSD equivalents to the functions moved to oci_conmon*_linux.go. For openUnixSocket, we create a temporary symlink to shorten the path to something that fits into sockaddr_un. [NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson <dfr@rabson.org>
Diffstat (limited to 'libpod/oci_conmon_common.go')
-rw-r--r--libpod/oci_conmon_common.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/oci_conmon_common.go b/libpod/oci_conmon_common.go
index 222fec9ca..c3725cdb4 100644
--- a/libpod/oci_conmon_common.go
+++ b/libpod/oci_conmon_common.go
@@ -1,5 +1,5 @@
-//go:build linux
-// +build linux
+//go:build linux || freebsd
+// +build linux freebsd
package libpod