2.6.33-rc1 build failure: copy_from_user() buffer size is not provably correct

From: Ritesh Raj Sarraf
Date: Mon Dec 21 2009 - 03:47:46 EST


This is triggered if using the 'allyesconfig' target.

A similar issue was this: 2886a8bdfa007053b414ab01741a98c18c376a85


debian-build:/tmp/all-yes-config/2.6.33-rc1# make deb-pkg
make KBUILD_SRC=
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
VDSOSYM arch/x86/vdso/vdso32-syms.lds
LD arch/x86/vdso/built-in.o
LD arch/x86/built-in.o
CC mm/migrate.o
In file included from /tmp/all-yes-config/2.6.33-
rc1/arch/x86/include/asm/uaccess.h:571,
from include/linux/uaccess.h:5,
from include/linux/highmem.h:6,
from include/linux/pagemap.h:10,
from include/linux/mempolicy.h:62,
from include/linux/migrate.h:5,
from mm/migrate.c:15:
In function âcopy_from_userâ,
inlined from âdo_pages_statâ at mm/migrate.c:1009:
/tmp/all-yes-config/2.6.33-rc1/arch/x86/include/asm/uaccess_32.h:213: error:
call to âcopy_from_user_overflowâ declared with attribute error:
copy_from_user() buffer size is not provably correct
make[3]: *** [mm/migrate.o] Error 1
make[2]: *** [mm] Error 2
make[1]: *** [deb-pkg] Error 2
make: *** [deb-pkg] Error 2


Regards,
Ritesh
--
Given the large number of mailing lists I follow, I request you to CC me
in replies for quicker response

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