Lines Matching +full:string +full:- +full:support
1 Kernel Support for miscellaneous Binary Formats (binfmt_misc)
9 with which binary. Binfmt_misc recognises the binary-type by matching some bytes
16 mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
18 To actually register a new binary type, you have to set up a string looking like
24 - ``name``
25 is an identifier string. A new /proc file will be created with this
28 - ``type``
30 - ``offset``
34 - ``magic``
35 is the byte sequence binfmt_misc is matching for. The magic string
36 may contain hex-encoded characters like ``\x0a`` or ``\xA4``. Note that you
43 - ``mask``
45 bits from matching by supplying a string like magic and as long as magic.
49 - ``interpreter``
52 - ``flags``
54 of the interpreter. It is a string of capital letters, each controls a
57 ``P`` - preserve-argv[0]
67 ``O`` - open-binary
72 the interpreter to execute non-readable binaries. This feature
73 should be used with care - the interpreter has to be trusted not to
74 emit the contents of the non-readable binary.
75 ``C`` - credentials
83 ``F`` - fix binary
95 - the whole register string may not exceed 1920 characters
96 - the magic must reside in the first 128 bytes of the file, i.e.
98 - the interpreter string may not exceed 127 characters
101 ``mount -t binfmt_misc none /proc/sys/fs/binfmt_misc`` command, or you can add
106 boot-up. Read the manual of your init program to figure out how to do this
114 - enable support for em86 (like binfmt_em86, for Alpha AXP only)::
119 - enable support for packed DOS applications (pre-configured dosemu hdimages)::
123 - enable support for Windows executables using wine::
127 For java support see Documentation/admin-guide/java.rst
135 You can remove one entry or all entries by echoing -1 to ``/proc/.../the_name``
140 -----
144 See :doc:`Documentation/admin-guide/java.rst <./java>` for an example.
151 Richard Günther <rguenth@tat.physik.uni-tuebingen.de>