lkml.org 
[lkml]   [2007]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.21-rc1 and 2.6.21-rc2 kwin dies silently
Sid Boyce wrote:
> Eric W. Biederman wrote:
>> Sid I think I have found the problem. Could you try the following
>> patch. I believe I accidentally switched the sense of a test....
>>
>> diff --git a/kernel/exit.c b/kernel/exit.c
>> index f132349..b55ed4c 100644
>> --- a/kernel/exit.c
>> +++ b/kernel/exit.c
>> @@ -790,7 +790,7 @@ static void exit_notify(struct task_struct *tsk)
>>
>> pgrp = task_pgrp(tsk);
>> if ((task_pgrp(t) != pgrp) &&
>> - (task_session(t) != task_session(tsk)) &&
>> + (task_session(t) == task_session(tsk)) &&
>> will_become_orphaned_pgrp(pgrp, tsk) &&
>> has_stopped_jobs(pgrp)) {
>> __kill_pgrp_info(SIGHUP, SEND_SIG_PRIV, pgrp);
>>
>>
>>
>>
>>
> AOK I shall apply to 2.6.21-rc5-git4 and test.
> Regards
> Sid.
>

Thanks, the patch works - tested on 2.6.21-rc5-git4.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-03-29 18:19    [W:0.133 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site