pkg/util: Add no-op implementation of AddPrivilegedDevices on FreeBSD
[NO NEW TESTS NEEDED]
@@ -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
+}
