Skip to content

Commit

Permalink
binfmt_misc: add F option description to documentation
Browse files Browse the repository at this point in the history
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
  • Loading branch information
James Bottomley authored and James Bottomley committed Mar 30, 2016
1 parent 948b701 commit 4af75df
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Documentation/binfmt_misc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4af75df

Please sign in to comment.