|
CS318 - Pintos
Pintos source browser for JHU CS318 course
|

Go to the source code of this file.
Functions | |
| void | test_main (void) |
| Sticks a system call number (SYS_EXIT) at the very top of the stack, then invokes a system call with the stack pointer (esp) set to its address. More... | |
| void test_main | ( | void | ) |
Sticks a system call number (SYS_EXIT) at the very top of the stack, then invokes a system call with the stack pointer (esp) set to its address.
The process must be terminated with -1 exit code because the argument to the system call would be above the top of the user address space.
Definition at line 12 of file sc-bad-arg.c.
References fail(), and SYS_EXIT.

1.8.16