Skip to contentSkip to conversation

Add BINFMT_MISC support for Mono .NET-based binaries

PATCH New Felipe Alfaro Solana 1 participant 1 message Mar 23, 2004

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add BINFMT_MISC support for Mono .NET-based binaries

Just as there is documentation for BINFMT_MISC and Java bytecodes support, I thought it could be interesting to add documentation on how to add BINFMT_MISC support for directly running .NET ".exe" binaries using the Mono CLR.

Attached is patch against 2.6.5-rc2-bk3 but should apply against 2.6.5-rc2-mm1.

Please, consider it for inclusion. Thanks!

Documentation/java.txt +1 -1
diff -uNr linux-2.6.5-rc2-bk3.old/Documentation/java.txt linux-2.6.5-rc2-bk3/Documentation/java.txt
@@ -22,7 +22,7 @@
    the kernel (CONFIG_BINFMT_MISC) and set it up properly.
    If you choose to compile it as a module, you will have
    to insert it manually with modprobe/insmod, as kmod
-   can not easy be supported with binfmt_misc. 
+   can not easily be supported with binfmt_misc. 
    Read the file 'binfmt_misc.txt' in this directory to know
    more about the configuration process.
 
Documentation/mono.txt new file +66 -0

66 lines not on this page · raw message

fs/Kconfig.binfmt +4 -3
diff -uNr linux-2.6.5-rc2-bk3.old/fs/Kconfig.binfmt linux-2.6.5-rc2-bk3/fs/Kconfig.binfmt
@@ -99,7 +99,7 @@
 	---help---
 	  If you say Y here, it will be possible to plug wrapper-driven binary
 	  formats into the kernel. You will like this especially when you use
-	  programs that need an interpreter to run like Java, Python or
+	  programs that need an interpreter to run like Java, Python, .NET or
 	  Emacs-Lisp. It's also useful if you often run DOS executables under
 	  the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from
 	  <http://www.tldp.org/docs.html#howto>). Once you have
@@ -109,8 +109,9 @@
 
 	  You can do other nice things, too. Read the file
 	  <file:Documentation/binfmt_misc.txt> to learn how to use this
-	  feature, and <file:Documentation/java.txt> for information about how
-	  to include Java support.
+	  feature, <file:Documentation/java.txt> for information about how
+	  to include Java support. and <file:Documentation/mono.txt> for
+          information about how to include Mono-based .NET support.
 
           To use binfmt_misc, you will need to mount it:
 		mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc