Skip to main content

Module syscall_impl

Module syscall_impl 

Source
Expand description

System call implementations.

Each syscall validates its arguments, copies user data into kernel buffers (TOCTOU defence), and delegates to the VFS layer in crate::fs::vfs.

Modules§

open_flags

Functions§

read_c_string
Read a null-terminated C string from a user-space pointer.
sys_close
sys_dup2
sys_exec
sys_exit
sys_fork
sys_getdents
sys_getpid
sys_lseek
sys_mkdir
sys_mount
sys_open
sys_pipe
sys_process_requires_trap_frame
Context-only dispatcher stub for process syscalls that require trap-frame and scheduler context.
sys_read
sys_stat
sys_umount
sys_unlink
sys_wait
sys_write