Messages in this thread | | | Date | Sun, 9 Apr 2006 11:14:36 +0100 | From | Christoph Hellwig <> | Subject | Re: [PATCH 3/7] uts namespaces: use init_utsname when appropriate |
| |
On Sun, Apr 09, 2006 at 03:44:19AM -0600, Eric W. Biederman wrote: > There are two ways to avoid the associated problems. > - modify daemonize to always use the instance of that > namespace associated with init_task. > - modify all interesting kernel threads to use the > kthread api instead of kernel_thread. Using kthread > makes the kernel threads children of keventd and always > in the initial namespace instance. As such we know > we aren't inside of any user space namespace instance.
I've added a deprecation entry for the kernel_thread export and plan to convert all users to the kthread API. Any help on that is of course greatly appreciated. - 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/
| |