Skip to content

Commit

Permalink
Merge pull request #97 from giuseppe/add-new-caps
Browse files Browse the repository at this point in the history
capabilities: add 3 missing capabilities
  • Loading branch information
vrothberg authored Mar 25, 2022
2 parents e54ebae + 6c80e92 commit 451b461
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/capabilities/capabilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 451b461

Please sign in to comment.