|
System Calls
- An operating system should run user programs in a
restricted mode
i.e. user program should not do I/O directly
- User programs should make a system call to allow
trusted code to perform I/O
- In UNIX "functions" like open, read, write, close
are actually system calls
- A UNIX system call is a transition from user mode to
kernel mode
- TCP/IP code is called through system calls
|