make sure a process parent of a pidspace discards signals sent from processes in that pidspace. Signed-off-by: Cedric Le Goater --- signal.c | 4 ++++ 1 files changed, 4 insertions(+) Index: linux-2.6.15/kernel/signal.c =================================================================== --- linux-2.6.15.orig/kernel/signal.c 2006-01-17 08:37:09.000000000 -0500 +++ linux-2.6.15/kernel/signal.c 2006-01-17 08:37:10.000000000 -0500 @@ -642,6 +642,10 @@ if (!valid_signal(sig)) return error; error = -EPERM; + + if (task_vpid_ctx(t, current) == 1) + return error; + if ((info == SEND_SIG_NOINFO || (!is_si_special(info) && SI_FROMUSER(info))) && ((sig != SIGCONT) || (current->signal->session != t->signal->session)) --