How do we want to create the container?this doesn't look good for a full virtualization solution, since proc should be virtualized as well :)
In our patch we did it through a /proc/container filesystem.
Which created the container object and then on fork/exec switched over.
How about an additional sys_exec_container( exec_args + "container_name").Why do you need exec?
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 !