On Tue, Jul 30, 2019 at 10:39:38AM +0100, Will Deacon wrote:
On Tue, Jul 30, 2019 at 11:37:13AM +0200, Greg KH wrote:
On Tue, Jul 30, 2019 at 10:25:47AM +0100, Will Deacon wrote:
From: Will Deacon will.deacon@arm.com
[ Upstream commit 24951465cbd279f60b1fdc2421b3694405bcff42 ]
arch/arm/ defines a SIGMINSTKSZ of 2k, so we should use the same value for compat tasks.
Cc: stable@vger.kernel.org # 4.9+ Cc: Aurelien Jarno aurelien@aurel32.net Cc: Arnd Bergmann arnd@arndb.de Cc: Dominik Brodowski linux@dominikbrodowski.net Cc: "Eric W. Biederman" ebiederm@xmission.com Cc: Andrew Morton akpm@linux-foundation.org Cc: Al Viro viro@zeniv.linux.org.uk Cc: Oleg Nesterov oleg@redhat.com Reviewed-by: Dave Martin Dave.Martin@arm.com Reported-by: Steve McIntyre steve.mcintyre@arm.com Tested-by: Steve McIntyre 93sam@debian.org Signed-off-by: Will Deacon will.deacon@arm.com Signed-off-by: Catalin Marinas catalin.marinas@arm.com
Aurelien points out that this didn't get selected for -stable despite its counterpart (22839869f21a ("signal: Introduce COMPAT_SIGMINSTKSZ for use in compat_sys_sigaltstack")) being backported to 4.9. Oops.
So this needs to go into 4.9.y, 4.14.y, and 4.19.y?
Yes, please.
Thanks, will do after this next round of kernels goes out.
greg k-h