arm: ERROR: "__csum_partial_copy_from_user" undefined

Discuss and suggest new grsecurity features

arm: ERROR: "__csum_partial_copy_from_user" undefined

Postby fabled » 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);
fabled
 
Posts: 20
Joined: Sat Aug 08, 2009 8:39 am

Re: arm: ERROR: "__csum_partial_copy_from_user" undefined

Postby PaX Team » Thu Jul 04, 2013 9:25 am

thanks, the next patch will fix this.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity development

cron