RootFs
need to be cloneable, so the whole state can be copies instead of inherit a reference on fork()
/clone()
#105
Labels
Milestone
At the moment
Process::fork()
seem to clone theArc<RootFs>
instead of content of theRootFs
itself, what leads to sharedRootFs
between processes, not independent file system states.Found during work on #88 and belongs to
Multithreading
milestone (I can't add myself).More details in the flags mask of
clone(2)
, scroll down toCLONE_FS
. I haven't checked yet how it's implemented in Linux Kernel.The text was updated successfully, but these errors were encountered: