Skip to main content

execute_syscall

Function execute_syscall 

Source
pub fn execute_syscall(
    locked: &mut Locked<Unlocked>,
    current_task: &mut CurrentTask,
    syscall_decl: SyscallDecl,
) -> Option<ErrorContext>
Expand description

Executes the provided syscall in current_task.

Returns an ErrorContext if the system call returned an error.