lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150810.210804.1413406155445559341.davem@davemloft.net>
Date:	Mon, 10 Aug 2015 21:08:04 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	james.hogan@...tec.com
Cc:	linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
	keescook@...omium.org, akpm@...ux-foundation.org, monstr@...str.eu,
	lftan@...era.com, jonas@...thpole.se, chris@...kel.net,
	jcmvbkbc@...il.com, nios2-dev@...ts.rocketboards.org,
	linux@...ts.openrisc.net, linux-xtensa@...ux-xtensa.org
Subject: Re: [PATCH v2 00/11] test_user_copy improvements

From: David Miller <davem@...hat.com>
Date: Mon, 10 Aug 2015 15:29:38 -0700 (PDT)

> Also, I think the tests you added and protected with MIPS ifdefs could
> equally be enabled on sparc64.

James, as per this issue, I was thinking we could do something like this
so that the tests don't get messy:

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index cee5f93..48d20c8 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1922,6 +1922,7 @@ config CPU_MIPSR6
 
 config EVA
 	bool
+	select ARCH_SPLIT_VA_SPACE
 
 config XPA
 	bool
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 56442d2..4001d04 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -80,6 +80,7 @@ config SPARC64
 	select NO_BOOTMEM
 	select HAVE_ARCH_AUDITSYSCALL
 	select ARCH_SUPPORTS_ATOMIC_RMW
+	select ARCH_SPLIT_VA_SPACE
 
 config ARCH_DEFCONFIG
 	string
diff --git a/lib/Kconfig b/lib/Kconfig
index 3a2ef67..149eb29 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -62,6 +62,9 @@ config ARCH_USE_CMPXCHG_LOCKREF
 config ARCH_HAS_FAST_MULTIPLIER
 	bool
 
+config ARCH_SPLIT_VA_SPACE
+       def_bool n
+
 config CRC_CCITT
 	tristate "CRC-CCITT functions"
 	help
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ