mirror of
https://github.com/containers/podman.git
synced 2025-05-22 09:36:57 +08:00
34 lines
561 B
Go
34 lines
561 B
Go
//go: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
|
|
}
|