projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove patch no longer needed.
[pintos-anon]
/
grading
/
userprog
/
child-bad.c
diff --git
a/grading/userprog/child-bad.c
b/grading/userprog/child-bad.c
index 914bde6ec22a1b50cf9391d8d2cc46b0ff22432a..97a9a3be971628f2f77f6dd5a4bbd0e1d598a7ed 100644
(file)
--- a/
grading/userprog/child-bad.c
+++ b/
grading/userprog/child-bad.c
@@
-5,7
+5,7
@@
int
main (void)
{
printf ("(child-bad) begin\n");
main (void)
{
printf ("(child-bad) begin\n");
- asm volatile ("mov
$0x20101234, %esp; int $
0x30");
+ asm volatile ("mov
%esp, 0x20101234; int
0x30");
printf ("(child-bad) end\n");
return 0;
}
printf ("(child-bad) end\n");
return 0;
}