浏览代码

binfmt_misc: add F option description to documentation

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
James Bottomley 9 年之前
父节点
当前提交
4af75df6a4
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      Documentation/binfmt_misc.txt

+ 7 - 0
Documentation/binfmt_misc.txt

@@ -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: