[RESEND PATCH 2/2] arm64: compat: Provide definition for COMPAT_SIGMINSTKSZ

Will Deacon will.deacon at arm.com
Wed Sep 5 07:34:43 PDT 2018

arch/arm/ defines a SIGMINSTKSZ of 2k, so we should use the same value
for compat tasks.

Cc: Arnd Bergmann <arnd at arndb.de>
Cc: Dominik Brodowski <linux at dominikbrodowski.net>
Cc: "Eric W. Biederman" <ebiederm at xmission.com>
Cc: Andrew Morton <akpm at linux-foundation.org>
Cc: Al Viro <viro at zeniv.linux.org.uk>
Cc: Oleg Nesterov <oleg at redhat.com>
Reviewed-by: Dave Martin <Dave.Martin at arm.com>
Reported-by: Steve McIntyre <steve.mcintyre at arm.com>
Signed-off-by: Will Deacon <will.deacon at arm.com>
 arch/arm64/include/asm/compat.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/include/asm/compat.h b/arch/arm64/include/asm/compat.h
index 1a037b94eba1..cee28a05ee98 100644
--- a/arch/arm64/include/asm/compat.h
+++ b/arch/arm64/include/asm/compat.h
@@ -159,6 +159,7 @@ static inline compat_uptr_t ptr_to_compat(void __user *uptr)
 #define compat_user_stack_pointer() (user_stack_pointer(task_pt_regs(current)))
 static inline void __user *arch_compat_alloc_user_space(long len)

More information about the linux-arm-kernel mailing list