Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1583872

[PATCH] usercopy: Don't test 64-bit get/put_user() on 32-bit powerpc

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject [PATCH] usercopy: Don't test 64-bit get/put_user() on 32-bit powerpc
Date 2017-02-18 10:40 +0100
Message-ID <tc9EJ-5W-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] usercopy: Don't test 64-bit get/put_user() on 32-bit powerpc Michael Ellerman <mpe@ellerman.id.au> - 2017-02-18 10:40 +0100
  Re: [PATCH] usercopy: Don't test 64-bit get/put_user() on 32-bit powerpc Kees Cook <keescook@chromium.org> - 2017-02-21 20:30 +0100

csiph-web