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§
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