Messages in this thread Patch in this message | | | Date | Tue, 8 Feb 2005 18:51:06 +0100 | From | Pavel Machek <> | Subject | Re: 2.6.11-rc3: Kylix application no longer works? |
| |
Hi!
> I wonder if reverting the patch will restore the old behaviour?
This seems to be minimal fix to get Kylix application back to the working state... Maybe it is good idea for 2.6.11?
Signed-off-by: Pavel Machek <pavel@suse.cz> Pavel
--- clean/fs/binfmt_elf.c 2005-02-03 22:27:19.000000000 +0100 +++ linux/fs/binfmt_elf.c 2005-02-08 18:46:38.000000000 +0100 @@ -803,11 +803,8 @@ nbyte = ELF_MIN_ALIGN - nbyte; if (nbyte > elf_brk - elf_bss) nbyte = elf_brk - elf_bss; - if (clear_user((void __user *) elf_bss + load_bias, nbyte)) { - retval = -EFAULT; - send_sig(SIGKILL, current, 0); - goto out_free_dentry; - } + if (clear_user((void __user *) elf_bss + load_bias, nbyte)) + printk(KERN_ERR "Error clearing BSS, wrong ELF executable? (Kylix?!)\n"); } } -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl! - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |