Re: [PATCH 1/2] New system call, unshare

From: Avi Kivity
Date: Mon Aug 08 2005 - 10:37:56 EST


Alan Cox wrote:

On Llu, 2005-08-08 at 09:33 -0400, Janak Desai wrote:


[PATCH 1/2] unshare system call: System Call handler function sys_unshare




Given the complexity of the kernel code involved and the obscurity of
the functionality why not just do another clone() in userspace to
unshare the things you want to unshare and then _exit the parent ?



suppose somebody wait()s for the parent? you've turned a synchronous operation into an asynchronous one.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/