lkml.org 
[lkml]   [2002]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.5.19 daemonize calls reparent_init for you
On Thu, May 30, 2002 at 03:05:07PM +1000, Rusty Russell wrote:
> daemonize() should call reparent_to_init: a classic mistake (I made it
> recently).
>
> Future potential cleanups:
> daemonize() should take mask of signals to allow
> kernel_thread() should take a name to copy into ->comm.

Why no generating kernel threads by basically cloning "init"?

This is what we do anyway (creating a clone of init with special
properties) but by cloning the current process and adjusting
everything needed later to make it appear of a mixture of init
clone and idle process clone.

Comments?

Regards

Ingo Oeser
--
Science is what we can tell a computer. Art is everything else. --- D.E.Knuth
-
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: 2005-03-22 13:22    [W:0.041 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site