Re: AUDIT of 2.5.15 copy_to/from_user

Alan Cox
2002-05-19T11:24:20Z

Looking at 2.4.1x which has the same signal code

> arch/i386/kernel/signal.c:37: return __copy_to_user(to, from, sizeof(siginfo_t));

not a bug
> arch/sparc/kernel/signal.c:101: return __copy_to_user(to, from, sizeof(siginfo_t));

Not a bug

> arch/alpha/kernel/signal.c:44: return __copy_to_user(to, from, sizeof(siginfo_t));

Not a bug

> arch/mips/kernel/signal.c:45: return __copy_to_user(to, from, sizeof(siginfo_t));

Not a bug

> arch/ppc/kernel/signal.c:70: return __copy_to_user(to, from, sizeof(siginfo_t));

Not a bug

> arch/m68k/kernel/signal.c:198: return __copy_to_user(to, from, sizeof(siginfo_t));

Not a bug

> arch/sparc64/kernel/signal.c:49: return __copy_to_user(to, from, sizeof(siginfo_t));

Not a bug

> arch/arm/kernel/signal.c:62: return __copy_to_user(to, from, sizeof(siginfo_t));

Not a bug

> arch/sh/kernel/signal.c:42: return __copy_to_user(to, from, sizeof(siginfo_t));

Not a bug

> arch/ia64/kernel/signal.c:147: return __copy_to_user(to, from, sizeof(siginfo_t));

Not a bug

> arch/mips64/kernel/signal.c:45: return __copy_to_user(to, from, sizeof(siginfo_t));

Not a bug

> arch/s390/kernel/signal.c:57: return __copy_to_user(to, from, sizeof(siginfo_t));

Not a bug

> arch/cris/kernel/signal.c:51: return __copy_to_user(to, from, sizeof(siginfo_t));

Not a bug

> arch/cris/kernel/signal.c:51: return __copy_to_user(to, from, sizeof(siginfo_t));

Not a bug

> arch/x86_64/kernel/signal.c:47: return __copy_to_user(to, from, sizeof(siginfo_t));

Not a bug