All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] usercopy: Don't test 64-bit get/put_user() on 32-bit powerpc
@ 2017-02-18  9:33 ` Michael Ellerman
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Ellerman @ 2017-02-18  9:33 UTC (permalink / raw)
  To: keescook; +Cc: kernel-hardening, linux-kernel, geert

Add PPC32 to the opt-out list, otherwise it breaks the build.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
 lib/test_user_copy.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/test_user_copy.c b/lib/test_user_copy.c
index 4a79f2c1cd6e..6f335a3d4ae2 100644
--- a/lib/test_user_copy.c
+++ b/lib/test_user_copy.c
@@ -37,6 +37,7 @@
 			    !defined(CONFIG_MICROBLAZE) &&	\
 			    !defined(CONFIG_MN10300) &&		\
 			    !defined(CONFIG_NIOS2) &&		\
+			    !defined(CONFIG_PPC32) &&		\
 			    !defined(CONFIG_SUPERH))
 # define TEST_U64
 #endif
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-02-22  2:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-18  9:33 [PATCH] usercopy: Don't test 64-bit get/put_user() on 32-bit powerpc Michael Ellerman
2017-02-18  9:33 ` [kernel-hardening] " Michael Ellerman
2017-02-21 19:13 ` Kees Cook
2017-02-21 19:13   ` [kernel-hardening] " Kees Cook
2017-02-22  2:44   ` Michael Ellerman
2017-02-22  2:44     ` [kernel-hardening] " Michael Ellerman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.