vendor containers/psgo@v1.7.3

Add three new capabilities that would otherwise be reported as unknown.

Also add an e2e test making sure that `podman top` knows all
capabilities of the current kernel.  I refrained from adding a system
test since this may blow up in gating tests.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
Valentin Rothberg
2022-08-24 15:38:14 +02:00
parent 0f92cf22a6
commit 88e4e4c82e
15 changed files with 1523 additions and 176 deletions

View File

@@ -63,11 +63,14 @@ var (
35: "WAKE_ALARM",
36: "BLOCK_SUSPEND",
37: "AUDIT_READ",
38: "PERFMON",
39: "BPF",
40: "CHECKPOINT_RESTORE",
}
// FullCAPs represents the value of a bitmask with a full capability
// set.
FullCAPs = uint64(0x3FFFFFFFFF)
FullCAPs = uint64(0x1FFFFFFFFFF)
)
// TranslateMask iterates over mask and returns a slice of corresponding

View File

@@ -32,7 +32,7 @@ type Stat struct {
// whether or not the executable is swapped out.
Comm string
// (3) The process state (e.g., running, sleeping, zombie, dead).
// Refer to proc(5) for further deatils.
// Refer to proc(5) for further details.
State string
// (4) The PID of the parent of this process.
Ppid string