Some aspects
System calls provide a layer between the hardware and user-space processes.
- provide an abstracted hardware interface for use-space
- ensure system security and stability
- allows for the virtualized system provided to processes
Applications,C library and the kernel
Execute a system call
trapping into the kernel->transmitting ths system call number and arguments->executing the correct system call function->returning to user-space with the syscall’s return value.
an register will store a pointer’s address which is used for storing the parameters of the systemcall function in user-space.and the return value of the syscall also will be put in an register usually eax.