Re: AUDIT of 2.5.15 copy_to/from_user

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 19 May 2002 12:44:30 +0100 (BST)


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/