Thread (15 messages) 15 messages, 4 authors, 2013-03-25

kernel build error

From: Mulyadi Santosa <hidden>
Date: 2013-03-19 14:43:11

Hi ...

On Tue, Mar 19, 2013 at 12:28 PM, Kumar amit mehta [off-list ref] wrote:
grep for copy_from_user_overflow gives me this:

amit at ubuntu:~/linux-next/linux-next$ grep -ri copy_from_user_overflow *
arch/s390/include/asm/uaccess.h:extern void copy_from_user_overflow(void)
arch/s390/include/asm/uaccess.h:                copy_from_user_overflow();
arch/tile/include/asm/uaccess.h:extern void copy_from_user_overflow(void)
arch/tile/include/asm/uaccess.h:                copy_from_user_overflow();
arch/parisc/include/asm/uaccess.h:extern void copy_from_user_overflow(void)
arch/parisc/include/asm/uaccess.h:                copy_from_user_overflow();
arch/x86/include/asm/uaccess_32.h:extern void copy_from_user_overflow(void)
arch/x86/include/asm/uaccess_32.h:              copy_from_user_overflow();
drivers/vfio/pci/vfio_pci_config.c:      * with count of 1/2/4 and hits
copy_from_user_overflow without this.
lib/usercopy.c:void copy_from_user_overflow(void)

IMHO, I think uaccess_32.h is what you need here.

I draw that conclusion after checking this line:
http://lxr.linux.no/#linux+v3.8.3/arch/x86/include/asm/uaccess_32.h#L194

I might be wrong, so feel free to test first
-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help