Page 1 of 1

arm: ERROR: "__csum_partial_copy_from_user" undefined

PostPosted: Wed Jul 03, 2013 2:24 am
by fabled
Patch: grsecurity-2.9.1-3.9.8-201306302052.patch
Arch: arm

Failed to build with:
ERROR: "__csum_partial_copy_from_user" [net/rxrpc/af-rxrpc.ko] undefined!

Seems that csum_partial_copy_from_user() got wrapped with inline helper, and the original symbol got renamed. The renamed symbol is not properly exported, though.

Suggested to modify linux-3.9/arch/arm/kernel/armksyms.c with:
-EXPORT_SYMBOL(csum_partial_copy_from_user);
+EXPORT_SYMBOL(__csum_partial_copy_from_user);

Re: arm: ERROR: "__csum_partial_copy_from_user" undefined

PostPosted: Thu Jul 04, 2013 9:25 am
by PaX Team
thanks, the next patch will fix this.