summaryrefslogtreecommitdiff
path: root/utils/utils_freebsd.go
blob: d239e9a5defccff7826e54f1c4f8090ea22442a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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")
}