The patch titled powerpc: check Cell SPU syscall number range _before_ using it has been added to the -mm tree. Its filename is powerpc-check-cell-spu-syscall-number-range-_before_-using-it.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: powerpc: check Cell SPU syscall number range _before_ using it From: David Woodhouse <dwmw2@xxxxxxxxxxxxx> Signed-off-by: David Woodhouse <dwmw2@xxxxxxxxxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Paul Mackerras <paulus@xxxxxxxxx> Cc: Arnd Bergmann <arnd@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/powerpc/platforms/cell/spu_callbacks.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN arch/powerpc/platforms/cell/spu_callbacks.c~powerpc-check-cell-spu-syscall-number-range-_before_-using-it arch/powerpc/platforms/cell/spu_callbacks.c --- devel/arch/powerpc/platforms/cell/spu_callbacks.c~powerpc-check-cell-spu-syscall-number-range-_before_-using-it 2006-05-22 14:32:29.000000000 -0700 +++ devel-akpm/arch/powerpc/platforms/cell/spu_callbacks.c 2006-05-22 14:32:29.000000000 -0700 @@ -339,13 +339,13 @@ long spu_sys_callback(struct spu_syscall { long (*syscall)(u64 a1, u64 a2, u64 a3, u64 a4, u64 a5, u64 a6); - syscall = spu_syscall_table[s->nr_ret]; - if (s->nr_ret >= ARRAY_SIZE(spu_syscall_table)) { pr_debug("%s: invalid syscall #%ld", __FUNCTION__, s->nr_ret); return -ENOSYS; } + syscall = spu_syscall_table[s->nr_ret]; + #ifdef DEBUG print_symbol(KERN_DEBUG "SPU-syscall %s:", (unsigned long)syscall); printk("syscall%ld(%lx, %lx, %lx, %lx, %lx, %lx)\n", _ Patches currently in -mm which might be from dwmw2@xxxxxxxxxxxxx are origin.patch sys_sync_file_range-move-exported-flags-outside-kernel.patch powerpc-fill-hole-in-cell-spu-syscall-table.patch powerpc-check-cell-spu-syscall-number-range-_before_-using-it.patch powerpc-wire-up-sys_et_robust_list.patch git-hdrcleanup.patch git-hdrcleanup-vs-git-klibc-on-ia64.patch git-hdrcleanup-vs-git-klibc-on-ia64-2.patch git-hdrinstall.patch git-mtd.patch git-rbtree.patch typesh-sector_t-and-blkcnt_t-arent-for-userspace.patch kconfigurable-resources-mtd-fixes.patch remove-fs-jffs2-ioctlc.patch drivers-char-applicomc-proper-module_initexit.patch use-list_add_tail-instead-of-list_add.patch use-list_add_tail-instead-of-list_add-fix.patch debug-shared-irqs.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html