projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add explanatory comments to vm tests.
[pintos-anon]
/
src
/
tests
/
vm
/
child-mm-wrt.c
diff --git
a/src/tests/vm/child-mm-wrt.c
b/src/tests/vm/child-mm-wrt.c
index 937272903b045731d387cd38ffeceb9c2e64ac07..8419788f79866df3db1f2b396e8c2092ebfdf1f2 100644
(file)
--- a/
src/tests/vm/child-mm-wrt.c
+++ b/
src/tests/vm/child-mm-wrt.c
@@
-1,3
+1,8
@@
+/* Child process of mmap-exit.
+ Mmaps a file and writes to it via the mmap'ing, then exits
+ without calling munmap. The data in the mapped region must be
+ written out at program termination. */
+
#include <string.h>
#include <syscall.h>
#include "tests/vm/sample.inc"
#include <string.h>
#include <syscall.h>
#include "tests/vm/sample.inc"