Trait for implementing system call filters that the kernel uses to decide whether to handle a specific system call or not.
Check the platform-provided system call filter for all non-yield system
calls. If the system call is allowed for the provided process then
Ok(()). Otherwise, return
Err() with an
ErrorCode that will
be returned to the calling application. The default implementation
allows all system calls.
This API should be considered unstable, and is likely to change in the future.
Implement default allow all SyscallFilter trait for unit.
Implement default SyscallFilter trait for filtering based on the TBF header.