git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Trying to reduce the ability for a fork bomb to fault the kernel
[tpg/acess2.git]
/
Usermode
/
Applications
/
bomb_src
/
main.c
diff --git
a/Usermode/Applications/bomb_src/main.c
b/Usermode/Applications/bomb_src/main.c
index
f9ecfa0
..
d792322
100644
(file)
--- a/
Usermode/Applications/bomb_src/main.c
+++ b/
Usermode/Applications/bomb_src/main.c
@@
-24,7
+24,7
@@
int main(int argc, char *argv[])
return 1;
}
- switch( argv[i][
0
] )
+ switch( argv[i][
1
] )
{
case 'f':
gbForkBomb = 1;
UCC
git Repository :: git.ucc.asn.au