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 <[EMAIL PROTECTED]>
                                                                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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to