mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "T. A." <tkhoadfdsaf@hotmail.com>
To: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Patch to 2.4.18 to replace the missing rc4 patch
Date: Sun, 3 Mar 2002 04:20:48 -0500	[thread overview]
Message-ID: <OE287NoUDry420OPbgC00001f00@hotmail.com> (raw)

[-- 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,

                 reply	other threads:[~2002-03-03  9:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OE287NoUDry420OPbgC00001f00@hotmail.com \
    --to=tkhoadfdsaf@hotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®