Files
podman/pkg/util/utils_freebsd.go
Doug Rabson b82b27cc48 pkg/util: Add pid information descriptors for FreeBSD
[NO NEW TESTS NEEDED]

Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-10-17 15:33:04 +01:00

35 lines
579 B
Go

//go:build freebsd
// +build freebsd
package util
import (
"github.com/opencontainers/runtime-tools/generate"
)
func GetContainerPidInformationDescriptors() ([]string, error) {
// These are chosen to match the set of AIX format descriptors
// supported in Linux - FreeBSD ps does support (many) others.
return []string{
"args",
"comm",
"etime",
"group",
"nice",
"pcpu",
"pgid",
"pid",
"ppid",
"rgroup",
"ruser",
"time",
"tty",
"user",
"vsz",
}, nil
}
func AddPrivilegedDevices(g *generate.Generator, systemdMode bool) error {
return nil
}