binfmt_misc: add F option description to documentation
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 25 Feb 2016 16:32:51 +0000 (08:32 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 30 Mar 2016 21:12:22 +0000 (14:12 -0700)
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Documentation/binfmt_misc.txt

index 6b1de70..ec83bbc 100644 (file)
@@ -66,6 +66,13 @@ Here is what the fields mean:
             This feature should be used with care as the interpreter
             will run with root permissions when a setuid binary owned by root
             is run with binfmt_misc.
+      'F' - fix binary.  The usual behaviour of binfmt_misc is to spawn the
+           binary lazily when the misc format file is invoked.  However,
+           this doesn't work very well in the face of mount namespaces and
+           changeroots, so the F mode opens the binary as soon as the
+           emulation is installed and uses the opened image to spawn the
+           emulator, meaning it is always available once installed,
+           regardless of how the environment changes.
 
 
 There are some restrictions: