lkml.org 
[lkml]   [1996]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subjectmodules 2.1.8 fix
Date
Hi Björn,

this little fix greatly enhanced lodule loading under
2.0.25, 2.1.7 and 2.1.8 :-)

--- insmod/load_elf.c~ Mon Nov 4 05:56:58 1996
+++ insmod/load_elf.c Mon Nov 11 14:40:22 1996
@@ -366,7 +366,7 @@
}

/* JEJB: zero the bss (now it's actually allocated) */
- memset(secref[bss_seg], 0, bss_size);
+ memset(secref[bss_seg], bss_size, 0);

for (spnt = sections, i = 0; i < epnt->e_shnum; ++i, ++spnt) {
#ifdef __i386__
Cheers Heiko

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.037 / U:4.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site