projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Mention that process_wait() can be changed to an infinite loop
[pintos-anon]
/
src
/
tests
/
userprog
/
sc-bad-arg.c
1
#include <syscall-nr.h>
2
#include "tests/lib.h"
3
#include "tests/main.h"
4
5
void
6
test_main (void)
7
{
8
asm volatile ("movl $0xbffffffc, %%esp; movl %0, (%%esp); int $0x30"
9
:: "i" (SYS_exit));
10
fail ("should have called exit(-1)");
11
}