* [PATCH] SET_PERSONALITY for static executables
@ 2002-04-09 12:10 Paul Mackerras
2002-04-09 12:15 ` David S. Miller
0 siblings, 1 reply; 3+ messages in thread
From: Paul Mackerras @ 2002-04-09 12:10 UTC (permalink / raw)
To: marcelo; +Cc: linux-kernel
Marcelo,
The SET_PERSONALITY call which made a brief appearance in 2.4.18-rc4
(setting the personality for static binaries in fs/binfmt_elf.c) still
hasn't reappeared as of 2.4.19-pre6. Here is the patch to put it back
in.
Thanks,
Paul.
diff -urN linux-2.4.19-pre6/fs/binfmt_elf.c linuxppc-merge/fs/binfmt_elf.c
--- linux-2.4.19-pre6/fs/binfmt_elf.c Sun Apr 7 21:31:19 2002
+++ linuxppc-merge/fs/binfmt_elf.c Mon Apr 8 22:27:22 2002
@@ -586,6 +586,9 @@
bprm->argc++;
}
}
+ } else {
+ /* Executables without an interpreter also need a personality */
+ SET_PERSONALITY(elf_ex, ibcs2_interpreter);
}
/* Flush all traces of the currently running executable */
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] SET_PERSONALITY for static executables
2002-04-09 12:10 [PATCH] SET_PERSONALITY for static executables Paul Mackerras
@ 2002-04-09 12:15 ` David S. Miller
2002-04-09 13:13 ` Paul Mackerras
0 siblings, 1 reply; 3+ messages in thread
From: David S. Miller @ 2002-04-09 12:15 UTC (permalink / raw)
To: paulus; +Cc: marcelo, linux-kernel
From: Paul Mackerras <paulus@samba.org>
Date: Tue, 9 Apr 2002 22:10:30 +1000 (EST)
The SET_PERSONALITY call which made a brief appearance in 2.4.18-rc4
(setting the personality for static binaries in fs/binfmt_elf.c) still
hasn't reappeared as of 2.4.19-pre6. Here is the patch to put it back
in.
It's there in his current tree, where are you looking?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] SET_PERSONALITY for static executables
2002-04-09 12:15 ` David S. Miller
@ 2002-04-09 13:13 ` Paul Mackerras
0 siblings, 0 replies; 3+ messages in thread
From: Paul Mackerras @ 2002-04-09 13:13 UTC (permalink / raw)
To: David S. Miller; +Cc: marcelo, linux-kernel
David S. Miller writes:
> From: Paul Mackerras <paulus@samba.org>
> Date: Tue, 9 Apr 2002 22:10:30 +1000 (EST)
>
> The SET_PERSONALITY call which made a brief appearance in 2.4.18-rc4
> (setting the personality for static binaries in fs/binfmt_elf.c) still
> hasn't reappeared as of 2.4.19-pre6. Here is the patch to put it back
> in.
>
> It's there in his current tree, where are you looking?
Oops, my mistake. In fact we now have it twice in our PPC bk trees.
I blame bk. :)
Paul.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-04-09 13:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-09 12:10 [PATCH] SET_PERSONALITY for static executables Paul Mackerras
2002-04-09 12:15 ` David S. Miller
2002-04-09 13:13 ` Paul Mackerras
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®