projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use standard POSIX "ustar" format for the scratch disk.
[pintos-anon]
/
src
/
tests
/
vm
/
mmap-bad-fd.c
diff --git
a/src/tests/vm/mmap-bad-fd.c
b/src/tests/vm/mmap-bad-fd.c
index 14619963e3ec7616963911c4c5f9d1eeb3b41022..76a7b50e1092bc95f29d067c353a470dd5fac368 100644
(file)
--- a/
src/tests/vm/mmap-bad-fd.c
+++ b/
src/tests/vm/mmap-bad-fd.c
@@
-1,3
+1,7
@@
+/* Tries to mmap an invalid fd,
+ which must either fail silently or terminate the process with
+ exit code -1. */
+
#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"