Re: [PATCH 0/4] x86: FPU detection in C

From: Borislav Petkov
Date: Wed Apr 10 2013 - 08:24:20 EST


On Wed, Apr 10, 2013 at 01:08:40PM +0200, Ingo Molnar wrote:
> Config attached.

How do you even build this? I tried tip:x86/cpu but it fails here:

drivers/misc/lkdtm.c: In function ârecursive_loop.constprop.3â:
drivers/misc/lkdtm.c:276:1: warning: the frame size of 1028 bytes is larger than 1024 bytes [-Wframe-larger-than=]
In file included from /w/kernel/linux-2.6/arch/x86/include/asm/uaccess.h:537:0,
from include/linux/uaccess.h:5,
from include/linux/highmem.h:8,
from include/linux/pagemap.h:10,
from fs/binfmt_misc.c:27:
/w/kernel/linux-2.6/arch/x86/include/asm/uaccess_32.h: In function âparse_command.part.2â:
/w/kernel/linux-2.6/arch/x86/include/asm/uaccess_32.h:211:26: error: call to âcopy_from_user_overflowâ declared with attribute error: copy_from_user() buffer size is not provably correct
make[1]: *** [fs/binfmt_misc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [fs] Error 2
make: *** Waiting for unfinished jobs....

because of CONFIG_DEBUG_STRICT_USER_COPY_CHECKS=y.

Thanks.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
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/