Re: + daemonize-detach-from-current-namespace.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[email protected] (Eric W. Biederman) wrote:
>
> I am beginning to suspect that we will want to fix kernel_thread so it
>  creates copies of the init_task rather than copies of whatever random
>  user space process we happen to be a member of at the time.  With an
>  enhanced kernel_thread this problem could more easily avoided, as
>  we add additional namespaces to the kernel.

You wouldn't believe the problems we had with kernel_thread followed by
call_usermodehelper() due to inheritance of random stuff from the userspace
parent.

A suitable solution is to stop using kernel_thread(), migrate to the
kthread API - that way the threads are parented by keventd which is a known
and good environment.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux