Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

notif_resp

Public Struct
std.os.linux.seccomp.notif_resp
pub const notif_resp = extern struct

The decision payload the supervisor process sends to the kernel.

Fields

id: u64

The filter cookie.

val: i64

The return value for a spoofed syscall.

@"error": i32

Set to zero for a spoofed success or a negative error number for a failure.

flags: u32

Bitmask containing the decision. Either USER_NOTIF_FLAG_CONTINUE to allow the syscall or zero to spoof the return values.

File

os/linux/seccomp.zig:191
191
192
193
194
195
196
197
198
199
200
201
202
pub const notif_resp = extern struct {
    /// The filter cookie.
    id: u64,
    /// The return value for a spoofed syscall.
    val: i64,
    /// Set to zero for a spoofed success or a negative error number for a
    /// failure.
    @"error": i32,
    /// Bitmask containing the decision. Either USER_NOTIF_FLAG_CONTINUE to
    /// allow the syscall or zero to spoof the return values.
    flags: u32,
}