* build error with DEBUG_STRICT_USER_COPY_CHECKS on at mm/migrate.c:1009
@ 2009-12-30 17:35 Boaz Harrosh
0 siblings, 0 replies; only message in thread
From: Boaz Harrosh @ 2009-12-30 17:35 UTC (permalink / raw)
To: Arjan van de Ven, Linux Kernel
Arjan hi
building with ARCH=i386 allmodconfig will give me the below compilation error.
I'm on FC12 [gcc (GCC) 4.4.2 20091222 (Red Hat 4.4.2-20)]
In file included from 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:
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
un-setting DEBUG_STRICT_USER_COPY_CHECKS, (It was turned on by allmodconfig) will let
the kernel compile.
I thought you might want to know
Boaz
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-30 17:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-30 17:35 build error with DEBUG_STRICT_USER_COPY_CHECKS on at mm/migrate.c:1009 Boaz Harrosh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox