lkml.org 
[lkml]   [2006]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] exec: Only allow a threaded init to exec from the thread_group_leader
From
Date
Jan Engelhardt <jengelh@linux01.gwdg.de> writes:

>>
>>So threading init will work just fine. The only case that will blow up
>>is calling exec from something that is not the thread group leader.
>>i.e. If tgid == 1 but pid != 1 the kernel will cause pid == 1 to exit.
>
> Should not it, at its best, replace the whole thread group by the new
> program and have things carry on?

You see the bug.

Eric

-
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: 2006-01-30 21:44    [W:0.068 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site