Messages in this thread | | | Date | Sun, 19 Mar 2006 23:45:52 -0500 | From | "Albert Cahalan" <> | Subject | Re: [PATCH] unshare: Cleanup up the sys_unshare interface before we are committed. |
| |
The unshare() syscall is in fact a clone() syscall minus one CLONE_* flag that is normally implied: CLONE_TASK_STRUCT. (conceptually -- it has no name because it is always implied)
We already have one flag with inverted action: CLONE_NEWNS. Adding another such flag (for the task struct) makes sense. The new system call is thus not needed at all.
Suggested names: CLONE_NO_TASK, CLONE_SAMETASK, CLONE_SHARETASK - 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/
| |