Author: pluto                        Date: Fri Oct  7 13:05:43 2005 GMT
Module: SOURCES                       Tag: LINUX_2_6
---- Log message:
- hack/fix for klibc shared binaries ( http://lkml.org/lkml/2005/10/7/48/ )

---- Files affected:
SOURCES:
   kernel-hotfixes.patch (1.1.2.62 -> 1.1.2.63) 

---- Diffs:

================================================================
Index: SOURCES/kernel-hotfixes.patch
diff -u SOURCES/kernel-hotfixes.patch:1.1.2.62 
SOURCES/kernel-hotfixes.patch:1.1.2.63
--- SOURCES/kernel-hotfixes.patch:1.1.2.62      Fri Oct  7 12:26:43 2005
+++ SOURCES/kernel-hotfixes.patch       Fri Oct  7 15:05:37 2005
@@ -153,3 +153,14 @@
          
              /* Point socket buffer at the right VCC before giving to socket 
layer */
              ATM_SKB(skb)->vcc = vcc;
+--- a/fs/binfmt_elf.c  2005-09-30 23:17:35.000000000 +0200
++++ b/fs/binfmt_elf.c  2005-10-07 11:46:27.159874250 +0200
+@@ -905,7 +905,7 @@ static int load_elf_binary(struct linux_
+               send_sig(SIGKILL, current, 0);
+               goto out_free_dentry;
+       }
+-      if (padzero(elf_bss)) {
++      if ((elf_bss != elf_brk) && padzero(elf_bss)) {
+               send_sig(SIGSEGV, current, 0);
+               retval = -EFAULT; /* Nobody gets to see this, but.. */
+               goto out_free_dentry;
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/SOURCES/kernel-hotfixes.patch?r1=1.1.2.62&r2=1.1.2.63&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to