arm: ERROR: "__csum_partial_copy_from_user" undefined
Posted: Wed Jul 03, 2013 2:24 am
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);
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);