extern struct notif_resp [src]
The decision payload the supervisor process sends to the kernel.
Fields
id: u64The filter cookie.
val: i64The return value for a spoofed syscall.
@"error": i32Set to zero for a spoofed success or a negative error number for a
failure.
flags: u32Bitmask containing the decision. Either USER_NOTIF_FLAG_CONTINUE to
allow the syscall or zero to spoof the return values.
Source
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,
}