Thread (75 messages) 75 messages, 14 authors, 2022-02-25

Re: [PATCH v2 09/18] mips: use simpler access_ok()

From: Arnd Bergmann <arnd@kernel.org>
Date: 2022-02-23 09:27:15
Also in: linux-alpha, linux-api, linux-arch, linux-m68k, linux-mm, linux-riscv, linux-s390, linux-sh, linux-um, linuxppc-dev, lkml, sparclinux

On Wed, Feb 23, 2022 at 8:41 AM Thomas Bogendoerfer
[off-list ref] wrote:
On Wed, Feb 16, 2022 at 02:13:23PM +0100, Arnd Bergmann wrote:
quoted
diff --git a/arch/mips/include/asm/uaccess.h b/arch/mips/include/asm/uaccess.h
index db9a8e002b62..d7c89dc3426c 100644
--- a/arch/mips/include/asm/uaccess.h
+++ b/arch/mips/include/asm/uaccess.h
@@ -19,6 +19,7 @@
 #ifdef CONFIG_32BIT

 #define __UA_LIMIT 0x80000000UL
+#define TASK_SIZE_MAX        __UA_LIMIT
using KSEG0 instead would IMHO be the better choice. This gives the
chance to remove __UA_LIMIT completly after cleaning up ptrace.c
Ok, changed now.

      Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help