From: Richard Weinberger Date: Tue, 26 Jul 2011 00:12:47 +0000 (-0700) Subject: um: fix _FORTIFY_SOURCE=2 support for kernel modules X-Git-Tag: v3.1-rc1~241^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f956b3e40ad7b9f7c0d33b80fe78f57fedb74f49;p=pandora-kernel.git um: fix _FORTIFY_SOURCE=2 support for kernel modules When UML is compiled with _FORTIFY_SOURCE we have to export all _chk() functions which are used in modules. For now it's only the case for __sprintf_chk(). Tested-by: Florian Fainelli Reported-by: Florian Fainelli Signed-off-by: Richard Weinberger Acked-by: Vitaliy Ivanov Cc: Geert Uytterhoeven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed