| ... | @@ -3464,7 +3464,10 @@ pub const CAP = struct { | ... | @@ -3464,7 +3464,10 @@ pub const CAP = struct { |
| 3464 | pub const WAKE_ALARM = 35; | 3464 | pub const WAKE_ALARM = 35; |
| 3465 | pub const BLOCK_SUSPEND = 36; | 3465 | pub const BLOCK_SUSPEND = 36; |
| 3466 | pub const AUDIT_READ = 37; | 3466 | pub const AUDIT_READ = 37; |
| 3467 | pub const LAST_CAP = AUDIT_READ; | 3467 | pub const PERFMON = 38; |
| | 3468 | pub const BPF = 39; |
| | 3469 | pub const CHECKPOINT_RESTORE = 40; |
| | 3470 | pub const LAST_CAP = CHECKPOINT_RESTORE; |
| 3468 | | 3471 | |
| 3469 | pub fn valid(x: u8) bool { | 3472 | pub fn valid(x: u8) bool { |
| 3470 | return x >= 0 and x <= LAST_CAP; | 3473 | return x >= 0 and x <= LAST_CAP; |