export of sys_call_tabl
Quoted 6 lines · Arjan van de Ven
Quoted 1 line · David Grothe
LiS is LGPL. Would it work if the exported symbol was GPL only?
since LiS becomes GPL when you link it into the kernel with insmod, that's not a problem ;)
Only problem is that modutils do not know about LGPL, you must use "GPL with additional rights" in source (at least Debian's 2.4.19-3), and "GPL with additional rights" might be too ambiguous for authors.
Petr Vandrovec [email protected]
Here is a proposed "final" patch for the streams hooks. I think that it takes into account all suggestions. I put the prototype in linux/sys.h.
This is for stock 2.4.19, and has been tested.
-- Dave
i386/kernel/entry.S renamed from i386/kernel/entry.S.orig +2 -2
@@ -584,8 +584,8 @@ .long SYMBOL_NAME(sys_capset) /* 185 */ .long SYMBOL_NAME(sys_sigaltstack) .long SYMBOL_NAME(sys_sendfile) - .long SYMBOL_NAME(sys_ni_syscall) /* streams1 */ - .long SYMBOL_NAME(sys_ni_syscall) /* streams2 */ + .long SYMBOL_NAME(sys_getpmsg) /* streams1 */ + .long SYMBOL_NAME(sys_putpmsg) /* streams2 */ .long SYMBOL_NAME(sys_vfork) /* 190 */ .long SYMBOL_NAME(sys_getrlimit) .long SYMBOL_NAME(sys_mmap2)
sys.c renamed from sys.c.orig +44 -0
53 lines not on this page · raw message
linux/sys.h renamed from linux/sys.h.orig +12 -0
@@ -27,4 +27,16 @@* These are system calls that haven't been implemented yet * but have an entry in the table for future expansion.. */ + +/* +* These are registration routines for system calls that are +* implemented by loadable modules outside of the kernel +* source tree. +*/ +#if !defined(__ASSEMBLY__) +extern int +register_streams_calls (int (*putpmsg) (int ,void *,void *,int ,int ), +int (*getpmsg) (int ,void *,void *,int ,int )) ; + +#endif /* __ASSEMBLY__ */ #endif
Quoted 5 lines · David Grothe
Here is a proposed "final" patch for the streams hooks. I think that it takes into account all suggestions. I put the prototype in
linux/sys.h.This is for stock 2.4.19, and has been tested.
Looks good to me