Skip to content

Commit

Permalink
std.os.linux: fix value of app_mask
Browse files Browse the repository at this point in the history
  • Loading branch information
ruihe774 committed Dec 28, 2024
1 parent 01081cc commit 231f94a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/std/os/linux.zig
Original file line number Diff line number Diff line change
Expand Up @@ -5067,7 +5067,7 @@ pub const NSIG = if (is_mips) 128 else 65;
pub const sigset_t = [1024 / 32]u32;

pub const all_mask: sigset_t = [_]u32{0xffffffff} ** @typeInfo(sigset_t).array.len;
pub const app_mask: sigset_t = [2]u32{ 0xfffffffc, 0x7fffffff } ++ [_]u32{0xffffffff} ** 30;
pub const app_mask: sigset_t = [2]u32{ 0x7fffffff, 0xfffffffc } ++ [_]u32{0xffffffff} ** 30;

const k_sigaction_funcs = struct {
const handler = ?*align(1) const fn (i32) callconv(.C) void;
Expand Down

0 comments on commit 231f94a

Please sign in to comment.