projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8176aa2f0f3c38abcc82a8b1b9dce3930bc6f409
[pintos-anon]
/
src
/
tests
/
userprog
/
open-bad-ptr.c
1
#include <syscall.h>
2
#include "tests/lib.h"
3
#include "tests/main.h"
4
5
void
6
test_main (void)
7
{
8
msg ("open(0x20101234): %d", open ((char *) 0x20101234));
9
fail ("should have called exit(-1)");
10
}