From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Garnier Subject: Re: [PATCH v2 1/4] syscalls: Restore address limit after a syscall Date: Thu, 9 Mar 2017 07:53:54 -0800 Message-ID: References: <20170309012456.5631-1-thgarnie@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: List-Post: List-Help: List-Unsubscribe: List-Subscribe: In-Reply-To: To: Christian Borntraeger Cc: David Howells , Dave Hansen , Arnd Bergmann , Al Viro , =?UTF-8?Q?Ren=C3=A9_Nyffenegger?= , Andrew Morton , Kees Cook , "Paul E . McKenney" , "David S . Miller" , Andy Lutomirski , Ard Biesheuvel , Nicolas Pitre , Petr Mladek , Sebastian Andrzej Siewior , Sergey Senozhatsky , Helge Deller , Rik van Riel , Ingo Molnar , Oleg Nesterov , John Stultz , Thomas Gleixner , Pavel Tikhomirov List-Id: linux-api@vger.kernel.org > On Thu, Mar 9, 2017 at 4:32 AM, Christian Borntraeger wrote: > Can you please disable that for s390? (e.g. by setting > CONFIG_ARCH_NO_SYSCALL_VERIFY_PRE_USERMODE_STATE for s390) > We have a separate address space for kernel/user so the logic will > be slightly different and is already handled in > > commit b5a882fcf146c87cb6b67c6df353e1c042b8773d > Author: Heiko Carstens > Date: Fri Feb 17 08:13:28 2017 +0100 > > s390: restore address space when returning to user space > No problem, I will add it on the next iteration of this change. -- Thomas From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <20170309012456.5631-1-thgarnie@google.com> From: Thomas Garnier Date: Thu, 9 Mar 2017 07:53:54 -0800 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: [kernel-hardening] Re: [PATCH v2 1/4] syscalls: Restore address limit after a syscall To: Christian Borntraeger Cc: David Howells , Dave Hansen , Arnd Bergmann , Al Viro , =?UTF-8?Q?Ren=C3=A9_Nyffenegger?= , Andrew Morton , Kees Cook , "Paul E . McKenney" , "David S . Miller" , Andy Lutomirski , Ard Biesheuvel , Nicolas Pitre , Petr Mladek , Sebastian Andrzej Siewior , Sergey Senozhatsky , Helge Deller , Rik van Riel , Ingo Molnar , Oleg Nesterov , John Stultz , Thomas Gleixner , Pavel Tikhomirov , Frederic Weisbecker , Stephen Smalley , Stanislav Kinsburskiy , Ingo Molnar , "H . Peter Anvin" , Paolo Bonzini , Borislav Petkov , Josh Poimboeuf , Brian Gerst , Jan Beulich , "Luis R . Rodriguez" , He Chen , Russell King , Will Deacon , Catalin Marinas , Mark Rutland , James Morse , Pratyush Anand , Vladimir Murzin , Chris Metcalf , Andre Przywara , Linux API , LKML , the arch/x86 maintainers , linux-arm-kernel@lists.infradead.org, Kernel Hardening , Heiko Carstens , Martin Schwidefsky , linux-s390 List-ID: > On Thu, Mar 9, 2017 at 4:32 AM, Christian Borntraeger wrote: > Can you please disable that for s390? (e.g. by setting > CONFIG_ARCH_NO_SYSCALL_VERIFY_PRE_USERMODE_STATE for s390) > We have a separate address space for kernel/user so the logic will > be slightly different and is already handled in > > commit b5a882fcf146c87cb6b67c6df353e1c042b8773d > Author: Heiko Carstens > Date: Fri Feb 17 08:13:28 2017 +0100 > > s390: restore address space when returning to user space > No problem, I will add it on the next iteration of this change. -- Thomas