projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ignore bochsout.txt, bochsrc.txt.
[pintos-anon]
/
src
/
tests
/
vm
/
pt-write-code-2.c
diff --git
a/src/tests/vm/pt-write-code-2.c
b/src/tests/vm/pt-write-code-2.c
index 282667ad629ab8422f652f9fb2fde381ceeac324..83bcc2c3b620e416f4736d013f3ce8b7af89b564 100644
(file)
--- a/
src/tests/vm/pt-write-code-2.c
+++ b/
src/tests/vm/pt-write-code-2.c
@@
-1,3
+1,6
@@
+/* Try to write to the code segment using a system call.
+ 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"