diff -NurpP --minimal linux-2.6.19.2-vs2.2.0-rc8.1/kernel/signal.c linux-2.6.19.2-vs2.2.0-rc8.2/kernel/signal.c --- linux-2.6.19.2-vs2.2.0-rc8.1/kernel/signal.c 2006-11-30 19:43:08 +0100 +++ linux-2.6.19.2-vs2.2.0-rc8.2/kernel/signal.c 2007-01-18 21:17:39 +0100 @@ -586,6 +586,10 @@ static int check_kill_permission(int sig (is_si_special(info) || !SI_FROMUSER(info))) goto skip; + vxdprintk(VXD_CBIT(misc, 7), + "check_kill_permission(%d,%p,%p[#%u,%u])", + sig, info, t, vx_task_xid(t), t->pid); + error = -EPERM; if (((sig != SIGCONT) || (current->signal->session != t->signal->session)) @@ -596,9 +600,9 @@ static int check_kill_permission(int sig error = -ESRCH; if (!vx_check(vx_task_xid(t), VS_WATCH_P|VS_IDENT)) { - vxwprintk(current->xid, - "signal xid mismatch %p[#%u,%u] xid=#%u\n", - t, vx_task_xid(t), t->pid, current->xid); + vxwprintk(current->xid || VXD_CBIT(misc, 7), + "signal %d[%p] xid mismatch %p[#%u,%u] xid=#%u", + sig, info, t, vx_task_xid(t), t->pid, current->xid); return error; } skip: