mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 15:42:49 +00:00
std.os.linux: Add new CAP constants
This commit is contained in:
parent
316812786c
commit
253eb72c14
@ -3464,7 +3464,10 @@ pub const CAP = struct {
|
||||
pub const WAKE_ALARM = 35;
|
||||
pub const BLOCK_SUSPEND = 36;
|
||||
pub const AUDIT_READ = 37;
|
||||
pub const LAST_CAP = AUDIT_READ;
|
||||
pub const PERFMON = 38;
|
||||
pub const BPF = 39;
|
||||
pub const CHECKPOINT_RESTORE = 40;
|
||||
pub const LAST_CAP = CHECKPOINT_RESTORE;
|
||||
|
||||
pub fn valid(x: u8) bool {
|
||||
return x >= 0 and x <= LAST_CAP;
|
||||
|
Loading…
Reference in New Issue
Block a user