Skip to contentSkip to conversation

Patch to 2.4.18 to replace the missing rc4 patch

PATCH T. A. 1 participant 1 message Mar 3, 2002

Subsystems (2)
lore
Share & tools
lore

T. A.

author
#0 lore raw

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.

fs/binfmt_elf.c +3 -0
diff -Naur linux-2.4.18/fs/binfmt_elf.c linux/fs/binfmt_elf.c
@@ -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,