]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] pid: Properly detect orphaned process groups in exit_notify
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 29 Mar 2007 05:38:16 +0000 (23:38 -0600)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 29 Mar 2007 15:16:23 +0000 (08:16 -0700)
commit885864b7bf02b6b1b25ebcf3c36164ee1cc07dcf
tree2288e59261478c013935cfe99e6565057e525452
parentd8c56dde945bddc4601f450cc061a0db6bb11bb3
[PATCH] pid: Properly detect orphaned process groups in exit_notify

In commit 37b98e3f9ada70687b149f439aff7056c0cf29d1 when converting the
orphaned process group handling to use struct pid I made a small
mistake.  I accidentally replaced an == with a !=.

Besides just being a dumb thing to do apparently this has a bad side
effect.  The improper orphaned process group detection causes kwin to
die after a suspend/resume cycle.

I'm amazed this patch has been around as long as it has without anyone
else noticing something funny going on.

And the following people deserve credit for spotting and helping
to reproduce this.

Thanks to: Sid Boyce <g3vbv@blueyonder.co.uk>
Thanks to: "Michael Wu"

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/exit.c