projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add references to tour of pintos.
[pintos-anon]
/
src
/
tests
/
userprog
/
create-bad-ptr.c
1
/* Passes a bad pointer to the create system call,
2
which must cause the process to be terminated with exit code
3
-1. */
4
5
#include "tests/lib.h"
6
#include "tests/main.h"
7
8
void
9
test_main (void)
10
{
11
msg ("create(0x20101234): %d", create ((char *) 0x20101234, 0));
12
}