diff options
-rw-r--r-- | utils/utils_freebsd.go | 22 |
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") +} |