title: Mount filesystem after clone with CLONE_NEWNS flag
body: <p>I'm trying to implement the following scenario:</p>
  
  <ol>
  <li><code>clone()</code> main process with <code>CLONE_NEWNS</code> flag (it means new mount namespace)</li>
  <li><code>mount()</code> new filesystem in child process</li>
  <li>child process finished and all created in this process filesystems are unmounted</li>
  </ol>
  
  <p>But it doesn't work as I expected and I still see mounted filesystems in main process. What am I doing wrong?</p>
  
  <p>Sources are here <a href="https://github.com/dmitrievanthony/sprat/blob/master/src/container.c#L47" rel="nofollow noreferrer">https://github.com/dmitrievanthony/sprat/blob/master/src/container.c#L47</a></p>
  
  <p>System is default AWS Ubuntu, </p>
  
  <pre><code>ubuntu@ip-172-31-31-112:~/sprat$ uname -a
  Linux ip-172-31-31-112 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
  </code></pre>