projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add "-k" option to pintos script. When used, pintos will scan the
[pintos-anon]
/
src
/
tests
/
userprog
/
sc-bad-sp.c
diff --git
a/src/tests/userprog/sc-bad-sp.c
b/src/tests/userprog/sc-bad-sp.c
index 2ae20e96d01cd63b2f421feb1786af2fcb40f9db..56a5b8d4b8ee09a00a26875cfae44848215755d7 100644
(file)
--- a/
src/tests/userprog/sc-bad-sp.c
+++ b/
src/tests/userprog/sc-bad-sp.c
@@
-1,3
+1,7
@@
+/* Invokes a system call with the stack pointer (%esp) set to a
+ bad address. The process must be terminated with -1 exit
+ code. */
+
#include "tests/lib.h"
#include "tests/main.h"
#include "tests/lib.h"
#include "tests/main.h"