diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2016-02-25 11:32:51 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2016-03-30 17:12:22 -0400 |
commit | 4af75df6a410ce76d9f60f27b07e5645ecc2c5ed (patch) | |
tree | d6d9b91265b5ded69629015c5ca1013ef91642cf | |
parent | 948b701a607f123df92ed29084413e5dd8cda2ed (diff) |
binfmt_misc: add F option description to documentation
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-rw-r--r-- | Documentation/binfmt_misc.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/binfmt_misc.txt b/Documentation/binfmt_misc.txt index 6b1de7058371..ec83bbce547a 100644 --- a/Documentation/binfmt_misc.txt +++ b/Documentation/binfmt_misc.txt | |||
@@ -66,6 +66,13 @@ Here is what the fields mean: | |||
66 | This feature should be used with care as the interpreter | 66 | This feature should be used with care as the interpreter |
67 | will run with root permissions when a setuid binary owned by root | 67 | will run with root permissions when a setuid binary owned by root |
68 | is run with binfmt_misc. | 68 | is run with binfmt_misc. |
69 | 'F' - fix binary. The usual behaviour of binfmt_misc is to spawn the | ||
70 | binary lazily when the misc format file is invoked. However, | ||
71 | this doesn't work very well in the face of mount namespaces and | ||
72 | changeroots, so the F mode opens the binary as soon as the | ||
73 | emulation is installed and uses the opened image to spawn the | ||
74 | emulator, meaning it is always available once installed, | ||
75 | regardless of how the environment changes. | ||
69 | 76 | ||
70 | 77 | ||
71 | There are some restrictions: | 78 | There are some restrictions: |