summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Rabson <dfr@rabson.org>2022-08-31 15:49:27 +0100
committerDoug Rabson <dfr@rabson.org>2022-09-05 10:17:49 +0100
commita5ee3cb79065907548e95fef5709f08f51041b69 (patch)
tree1c77dac5b2211de82557d58012919d47340991b4
parent0889215d83ef095e5817fd2d4b8fe676ad819d84 (diff)
downloadpodman-a5ee3cb79065907548e95fef5709f08f51041b69.tar.gz
podman-a5ee3cb79065907548e95fef5709f08f51041b69.tar.bz2
podman-a5ee3cb79065907548e95fef5709f08f51041b69.zip
pkg/util: Add no-op implementation of AddPrivilegedDevices on FreeBSD
[NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson <dfr@rabson.org>
-rw-r--r--pkg/util/utils_freebsd.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/util/utils_freebsd.go b/pkg/util/utils_freebsd.go
index 17436ae81..9b0d7c8c7 100644
--- a/pkg/util/utils_freebsd.go
+++ b/pkg/util/utils_freebsd.go
@@ -5,8 +5,14 @@ package util
import (
"errors"
+
+ "github.com/opencontainers/runtime-tools/generate"
)
func GetContainerPidInformationDescriptors() ([]string, error) {
return []string{}, errors.New("this function is not supported on freebsd")
}
+
+func AddPrivilegedDevices(g *generate.Generator) error {
+ return nil
+}