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