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