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:
Christophe Fergeau
2024-02-06 09:57:17 +01:00
parent 6b592bd4e4
commit 6ca6184ed6
67 changed files with 1912 additions and 2364 deletions

View File

@@ -1,4 +1,4 @@
[![GoDoc](https://godoc.org/github.com/containers/psgo?status.svg)](https://godoc.org/github.com/containers/psgo) [![Build Status](https://travis-ci.org/containers/psgo.svg?branch=master)](https://travis-ci.org/containers/psgo)
[![GoDoc](https://godoc.org/github.com/containers/psgo?status.svg)](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.

View File

@@ -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:":