Messages in this thread Patch in this message | | | Date | Thu, 22 Jul 1999 09:10:36 -0400 (EDT) | From | Alexander Viro <> | Subject | Re: [2.3.11=pre6]: No OOPS, but mount segfaults remounting "/"? |
| |
On Thu, 22 Jul 1999, Ingo Molnar wrote:
> your patch doesnt actually compile (binfmt_elf.c and exec.c had problems) > ... The attached one compiles and boots fine. (patch against 2.3.11-final)
Argh. Wonders of diff, compile, fix typos, diff, compare diffs, test, see that it works and... send the older diff. It's the second or third time ;-/ Sorry, folks. Oh, well. Rather than reposting the whole thing (actually there was a couple of fixes Ingo missed) I rediffed the thing. Here's the incremental (I dropped the part in exec.c - Ingo used the right indentation style, so...):
diff -urN linux-ingo/arch/mips/kernel/irixelf.c linux-bird.dumps/arch/mips/kernel/irixelf.c --- linux-ingo/arch/mips/kernel/irixelf.c Thu Jul 22 08:49:10 1999 +++ linux-bird.dumps/arch/mips/kernel/irixelf.c Thu Jul 22 08:43:10 1999 @@ -44,7 +44,7 @@ static int load_irix_binary(struct linux_binprm * bprm, struct pt_regs * regs); static int load_irix_library(int fd); -static int irix_core_dump(long signr, struct pt_regs * regs); +static int irix_core_dump(long signr, struct pt_regs * regs, struct file * file); extern int dump_fpu (elf_fpregset_t *); static struct linux_binfmt irix_format = { diff -urN linux-ingo/arch/sparc64/kernel/binfmt_aout32.c linux-bird.dumps/arch/sparc64/kernel/binfmt_aout32.c --- linux-ingo/arch/sparc64/kernel/binfmt_aout32.c Thu Jul 22 08:49:10 1999 +++ linux-bird.dumps/arch/sparc64/kernel/binfmt_aout32.c Thu Jul 22 08:43:37 1999 @@ -34,7 +34,7 @@ static int load_aout32_binary(struct linux_binprm *, struct pt_regs * regs); static int load_aout32_library(int fd); -static int aout32_core_dump(long signr, struct pt_regs * regs); +static int aout32_core_dump(long signr, struct pt_regs * regs, struct file *file); extern void dump_thread(struct pt_regs *, struct user *); diff -urN linux-ingo/fs/binfmt_aout.c linux-bird.dumps/fs/binfmt_aout.c --- linux-ingo/fs/binfmt_aout.c Thu Jul 22 08:49:09 1999 +++ linux-bird.dumps/fs/binfmt_aout.c Thu Jul 22 08:44:18 1999 @@ -31,7 +31,7 @@ static int load_aout_binary(struct linux_binprm *, struct pt_regs * regs); static int load_aout_library(int fd); -static int aout_core_dump(long signr, struct pt_regs * regs); +static int aout_core_dump(long signr, struct pt_regs * regs, struct file * file); extern void dump_thread(struct pt_regs *, struct user *);
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |