mirror of
https://github.com/containers/podman.git
synced 2025-06-22 09:58:10 +08:00
Merge pull request #15324 from dfr/freebsd-build
utils: Add missing symbols for FreeBSD
This commit is contained in:
22
utils/utils_freebsd.go
Normal file
22
utils/utils_freebsd.go
Normal file
@ -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")
|
||||
}
|
Reference in New Issue
Block a user