projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use -fno-stack-protector with GCC versions that support it, to fix a
[pintos-anon]
/
src
/
tests
/
userprog
/
write-bad-fd.c
diff --git
a/src/tests/userprog/write-bad-fd.c
b/src/tests/userprog/write-bad-fd.c
index af9a7f25233da5c247fa3917c91e97c4008054c2..f3b11517e6a0ee9293f695857fdd4c77ec674d22 100644
(file)
--- a/
src/tests/userprog/write-bad-fd.c
+++ b/
src/tests/userprog/write-bad-fd.c
@@
-1,3
+1,7
@@
+/* Tries to write to an invalid fd,
+ which must either fail silently or terminate the process with
+ exit code -1. */
+
#include <limits.h>
#include <syscall.h>
#include "tests/main.h"