projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix up solution to work with latest process.c.
[pintos-anon]
/
src
/
tests
/
userprog
/
exec-bad-ptr.c
diff --git
a/src/tests/userprog/exec-bad-ptr.c
b/src/tests/userprog/exec-bad-ptr.c
index a70c504cfcfb0770de77fb44114fb767a48c9eab..0abadd30f141913977806fc6892cb34810d7359b 100644
(file)
--- a/
src/tests/userprog/exec-bad-ptr.c
+++ b/
src/tests/userprog/exec-bad-ptr.c
@@
-1,3
+1,6
@@
+/* Passes an invalid pointer to the exec system call.
+ The process must be terminated with -1 exit code. */
+
#include <syscall.h>
#include "tests/main.h"