Advertisement
Guest User

Untitled

a guest
May 4th, 2016
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. mount --bind /vital_data /untrusted_container/vital_data
  2. mount -o remount,ro /untrusted_container/vital_data
  3.  
  4. mount --bind /src /dst
  5.  
  6. mount -o remount,ro /dst
  7.  
  8. mount -o remount,ro,bind /dst
  9.  
  10. mount --bind --make-rprivate /sbin/ $prefix/sbin/
  11. mount -o remount,ro,bind $prefix/sbin/
  12.  
  13. mount --make-shared mountpoint
  14. mount --make-slave mountpoint
  15. mount --make-private mountpoint
  16. mount --make-unbindable mountpoint
  17.  
  18. mount --make-rshared mountpoint
  19. mount --make-rslave mountpoint
  20. mount --make-rprivate mountpoint
  21. mount --make-runbindable mountpoint
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement