Re: Modutils 2.3.14 / Kernel 2.4.0-test11 incompatibility

2000-11-22 Thread Russell King
Keith Owens writes: > On Wed, 22 Nov 2000 23:12:25 + (GMT), > Russell King <[EMAIL PROTECTED]> wrote: > >if (copy_from_user(mod+1, mod_user+1, mod->size-sizeof(*mod))) { > > Using sizeof(struct module) is a nono in sys_init_module(), the code > has to use the user space size. Does t

Re: Modutils 2.3.14 / Kernel 2.4.0-test11 incompatibility

2000-11-22 Thread Keith Owens
On Wed, 22 Nov 2000 23:12:25 + (GMT), Russell King <[EMAIL PROTECTED]> wrote: >if (copy_from_user(mod+1, mod_user+1, mod->size-sizeof(*mod))) { Using sizeof(struct module) is a nono in sys_init_module(), the code has to use the user space size. Does this untested patch fix the probl