Professional Documents
Culture Documents
04 When Kernel Runs
04 When Kernel Runs
1
Overview
1. CSE 361 Review: Programs & Processes
2. CSE 361 Review: System Calls
3. Kernel Execution
4. Today’s Studio
Generate program
$ gcc program.c –o a.out
Create process
./a.out
System call:
An operation that requires a higher level of
privilege than is granted to user applications
(e.g., writing data to a file or network device)
User space
Kernel space
x No user code
x No user data
foo.c baz.c
foo.o baz.o
NR_SYSCALLS = 388 NR_SYSCALLS = 292