Messages in this thread | | | Date | Mon, 06 Feb 2006 12:08:41 +0300 | From | Kirill Korotaev <> | Subject | Re: [RFC][PATCH 1/5] Virtualization/containers: startup |
| |
> Just lazy's man's development version of a faked sys_call to create the > container > without having to go through all architectures ... > Nothing permanent..
>>> How about an additional sys_exec_container( exec_args + >>> "container_name"). >>> This does all the work like exec, but creates new container >>> with name "..." and attaches task to new container. >>> If name exists, an error -EEXIST will be raised ! >> >> >> Why do you need exec? > > > (a) how do you create/destroy a container > (b) how do you attach yourself to it? a) create via syscall. destroyed when the last process dies in container. b) syscall which changes container. you need to close unneeded resources, change context and fork(). That's it. The whole process is exactly the same as if you changes UID.
- 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/
| |