From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751565AbcFWRKq (ORCPT ); Thu, 23 Jun 2016 13:10:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55033 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751425AbcFWRKm (ORCPT ); Thu, 23 Jun 2016 13:10:42 -0400 Date: Thu, 23 Jun 2016 19:10:37 +0200 From: Oleg Nesterov To: Andy Lutomirski Cc: Linus Torvalds , Andy Lutomirski , the arch/x86 maintainers , Linux Kernel Mailing List , "linux-arch@vger.kernel.org" , Borislav Petkov , Nadav Amit , Kees Cook , Brian Gerst , "kernel-hardening@lists.openwall.com" , Josh Poimboeuf , Jann Horn , Heiko Carstens Subject: Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core) Message-ID: <20160623171037.GB17372@redhat.com> References: <20160623143126.GA16664@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Thu, 23 Jun 2016 17:10:41 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/23, Andy Lutomirski wrote: > > That sounds a bit more fragile than I'm really comfortable with, > although it'll at least oops reliably if we get it wrong. > > But I'm planning on moving ti->flags (and the rest of thread_info, > either piecemeal or as a unit) into task_struct on architectures that > opt in, I agree, this looks better. probably it should not be that hard to fix GET_THREAD_INFO/etc, but you know this much better than me. Oleg. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleg Nesterov Subject: Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core) Date: Thu, 23 Jun 2016 19:10:37 +0200 Message-ID: <20160623171037.GB17372@redhat.com> References: <20160623143126.GA16664@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Andy Lutomirski Cc: Linus Torvalds , Andy Lutomirski , the arch/x86 maintainers , Linux Kernel Mailing List , "linux-arch@vger.kernel.org" , Borislav Petkov , Nadav Amit , Kees Cook , Brian Gerst , "kernel-hardening@lists.openwall.com" , Josh Poimboeuf , Jann Horn , Heiko Carstens List-Id: linux-arch.vger.kernel.org On 06/23, Andy Lutomirski wrote: > > That sounds a bit more fragile than I'm really comfortable with, > although it'll at least oops reliably if we get it wrong. > > But I'm planning on moving ti->flags (and the rest of thread_info, > either piecemeal or as a unit) into task_struct on architectures that > opt in, I agree, this looks better. probably it should not be that hard to fix GET_THREAD_INFO/etc, but you know this much better than me. Oleg. From mboxrd@z Thu Jan 1 00:00:00 1970 Reply-To: kernel-hardening@lists.openwall.com Date: Thu, 23 Jun 2016 19:10:37 +0200 From: Oleg Nesterov Message-ID: <20160623171037.GB17372@redhat.com> References: <20160623143126.GA16664@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [kernel-hardening] Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core) To: Andy Lutomirski Cc: Linus Torvalds , Andy Lutomirski , the arch/x86 maintainers , Linux Kernel Mailing List , "linux-arch@vger.kernel.org" , Borislav Petkov , Nadav Amit , Kees Cook , Brian Gerst , "kernel-hardening@lists.openwall.com" , Josh Poimboeuf , Jann Horn , Heiko Carstens List-ID: On 06/23, Andy Lutomirski wrote: > > That sounds a bit more fragile than I'm really comfortable with, > although it'll at least oops reliably if we get it wrong. > > But I'm planning on moving ti->flags (and the rest of thread_info, > either piecemeal or as a unit) into task_struct on architectures that > opt in, I agree, this looks better. probably it should not be that hard to fix GET_THREAD_INFO/etc, but you know this much better than me. Oleg.