mirror of
https://github.com/containers/podman.git
synced 2025-11-30 10:07:33 +08:00
gomod: Update containers/psgo to 1.9.0
This solves an issue with a non-existing module: ``` $ go mod tidy [...] github.com/mitchellh/osext@v0.0.0-20151018003038-5e2d6d41470f: invalid version ``` Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/psgo/README.md
generated
vendored
2
vendor/github.com/containers/psgo/README.md
generated
vendored
@@ -1,4 +1,4 @@
|
||||
[](https://godoc.org/github.com/containers/psgo) [](https://travis-ci.org/containers/psgo)
|
||||
[](https://godoc.org/github.com/containers/psgo)
|
||||
|
||||
# psgo
|
||||
A ps(1) AIX-format compatible golang library extended with various descriptors useful for displaying container-related data.
|
||||
|
||||
5
vendor/github.com/containers/psgo/internal/proc/status.go
generated
vendored
5
vendor/github.com/containers/psgo/internal/proc/status.go
generated
vendored
@@ -156,6 +156,9 @@ type Status struct {
|
||||
// provided only if the kernel was built with the CONFIG_SECCOMP kernel
|
||||
// configu- ration option enabled.
|
||||
Seccomp string
|
||||
// SeccompFilters: Amount of filters attached to the process.
|
||||
// (since Linux 5.9)
|
||||
SeccompFilters string
|
||||
// Cpus_allowed: Mask of CPUs on which this process may run
|
||||
// (since Linux 2.6.24, see cpuset(7)).
|
||||
CpusAllowed string
|
||||
@@ -379,6 +382,8 @@ func parseStatus(pid string, lines []string) (*Status, error) {
|
||||
s.NoNewPrivs = fields[1]
|
||||
case "Seccomp:":
|
||||
s.Seccomp = fields[1]
|
||||
case "Seccomp_filters:":
|
||||
s.SeccompFilters = fields[1]
|
||||
case "Cpus_allowed:":
|
||||
s.CpusAllowed = fields[1]
|
||||
case "Cpus_allowed_list:":
|
||||
|
||||
Reference in New Issue
Block a user