linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Patch to 2.4.18 to replace the missing rc4 patch
@ 2002-03-03  9:20 T. A.
  0 siblings, 0 replies; only message in thread
From: T. A. @ 2002-03-03  9:20 UTC (permalink / raw)
  To: Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 218 bytes --]

    Since many people download the entire g or b zipped tarball of the
kernel I figured some would like to have a patch to replace the missing rc4
fix in their 2.4.18 source trees.  Consequently I've attached it here.

[-- Attachment #2: 2.4.18-missing-code-fix.patch --]
[-- Type: application/octet-stream, Size: 504 bytes --]

diff -Naur linux-2.4.18/fs/binfmt_elf.c linux/fs/binfmt_elf.c
--- linux-2.4.18/fs/binfmt_elf.c	Mon Feb 25 14:38:08 2002
+++ linux/fs/binfmt_elf.c	Fri Mar  1 03:16:02 2002
@@ -564,6 +564,9 @@
 			// printk(KERN_WARNING "ELF: Ambiguous type, using ELF\n");
 			interpreter_type = INTERPRETER_ELF;
 		}
+	} else {
+		/* Executables without an interpreter also need a personality  */
+		SET_PERSONALITY(elf_ex, ibcs2_interpreter);
 	}
 
 	/* OK, we are done with that, now set up the arg stuff,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-03-03  9:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-03  9:20 Patch to 2.4.18 to replace the missing rc4 patch T. A.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).