mirror of
https://github.com/containers/podman.git
synced 2025-11-30 01:58:46 +08:00
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:
5
vendor/github.com/containers/psgo/internal/capabilities/capabilities.go
generated
vendored
5
vendor/github.com/containers/psgo/internal/capabilities/capabilities.go
generated
vendored
@@ -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
|
||||
|
||||
2
vendor/github.com/containers/psgo/internal/proc/stat.go
generated
vendored
2
vendor/github.com/containers/psgo/internal/proc/stat.go
generated
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user