<div dir="ltr">Hi,<div><br></div><div>Does CRIU do multiple open() on a regular file during restore? If yes, multiple open() on some device files may lead to incorrect bookkeeping inside the kernel driver.</div><div><br></div><div>Please correct me if my understanding is wrong. Thanks!</div><div><br></div><div>I see the following code being executed:</div><div>prepare_mappings() -&gt; premap_priv_vmas() -&gt;map_private_vma()-&gt;get_filemap_fd(vma) </div><div><br></div><div>This is followed by close(vma-e-&gt;fd)</div><div><br></div><div>-Lilo</div><div><br></div><div><br></div><div><br></div></div>