From: Martin Mares Date: Sun, 25 Mar 2007 17:54:14 +0000 (+0000) Subject: Added exception for suicide by tgkill(). X-Git-Tag: python-dummy-working~418 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=28a5f9efe1f794bd20def0b7a08ed1124629f0ff;p=eval.git Added exception for suicide by tgkill(). --- diff --git a/src/box.c b/src/box.c index edfbace..095c884 100644 --- a/src/box.c +++ b/src/box.c @@ -266,6 +266,10 @@ valid_syscall(struct user *u) if (u->regs.ebx == box_pid) die("Commited suicide by signal %d.", (int)u->regs.ecx); return 0; + case __NR_tgkill: + if (u->regs.ebx == box_pid && u->regs.ecx == box_pid) + die("Commited suicide by signal %d.", (int)u->regs.edx); + return 0; default: return 0; }