source:
patches/sysklogd-1.4.1.patch@
873009c
Last change on this file since 873009c was 617118d, checked in by , 19 years ago | |
---|---|
|
|
File size: 2.3 KB |
-
sysklogd-1.4.1
diff -Naurw sysklogd-1.4.1/Makefile sysklogd-1.4.1.lsb/Makefile
old new 3 3 CC= gcc 4 4 #CFLAGS= -g -DSYSV -Wall 5 5 #LDFLAGS= -g 6 CFLAGS= $(RPM_OPT_FLAGS) - O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce6 CFLAGS= $(RPM_OPT_FLAGS) -DSYSV -D_GNU_SOURCE -Wall 7 7 LDFLAGS= -s 8 8 9 9 # Look where your install program is. -
sysklogd-1.4.1
diff -Naurw sysklogd-1.4.1/ksym_mod.c sysklogd-1.4.1.lsb/ksym_mod.c
old new 93 93 #include <linux/time.h> 94 94 #include <linux/module.h> 95 95 #else /* __GLIBC__ */ 96 #include <linux/module.h>96 #include "module.h" 97 97 extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence)); 98 98 extern int get_kernel_syms __P ((struct kernel_sym *__table)); 99 99 #endif /* __GLIBC__ */ -
sysklogd-1.4.1
diff -Naurw sysklogd-1.4.1/module.h sysklogd-1.4.1.lsb/module.h
old new 1 /* this file eliminates the need to include <kernel/module.h> */ 2 /* Module definitions for klogd's module support */ 3 struct kernel_sym 4 { 5 unsigned long value; 6 char name[60]; 7 }; 8 9 struct module_symbol 10 { 11 unsigned long value; 12 const char *name; 13 }; 14 15 struct module_ref 16 { 17 struct module *dep; /* "parent" pointer */ 18 struct module *ref; /* "child" pointer */ 19 struct module_ref *next_ref; 20 }; 21 22 struct module_info 23 { 24 unsigned long addr; 25 unsigned long size; 26 unsigned long flags; 27 long usecount; 28 }; 29 30 31 typedef struct { volatile int counter; } atomic_t; 32 33 struct module 34 { 35 unsigned long size_of_struct; /* == sizeof(module) */ 36 struct module *next; 37 const char *name; 38 unsigned long size; 39 40 union 41 { 42 atomic_t usecount; 43 long pad; 44 } uc; /* Needs to keep its size - so says rth */ 45 46 unsigned long flags; /* AUTOCLEAN et al */ 47 48 unsigned nsyms; 49 unsigned ndeps; 50 51 struct module_symbol *syms; 52 struct module_ref *deps; 53 struct module_ref *refs; 54 int (*init)(void); 55 void (*cleanup)(void); 56 const struct exception_table_entry *ex_table_start; 57 const struct exception_table_entry *ex_table_end; 58 #ifdef __alpha__ 59 unsigned long gp; 60 #endif 61 }; 62
Note:
See TracBrowser
for help on using the repository browser.