Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4217815ybp; Mon, 14 Oct 2019 00:54:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqywnB+nS+532tGa1qNtHzMwP/OBELB+AZ1RCXlR7u5j3XemP2TaVb9SDhnJXiCV9SejOVF+ X-Received: by 2002:a17:906:615:: with SMTP id s21mr27534358ejb.276.1571039642954; Mon, 14 Oct 2019 00:54:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571039642; cv=none; d=google.com; s=arc-20160816; b=QlWN7Fr4hjtGGsRrqnMvX58B9uu2ocuiWVc6HqGLKvVmrHpX/pmOBaAWMUy9g1gXXl bJ6heRcyDA7yXxIYmGL76lXIefvqvHw9L+EoLyx9By/pJ+lTUiVjr8IQzuBza7xpgDSL Aync+hePkvCnFlPdpM7sRbRQ5+zoZjUrnyGVNiFwojZ0QlXDBbciYcjxWf04OFeaBYT7 CUUonxC9ADEwdSIeY1AI9WhzRmg1EH4jlOcwxcIk7LHma3QFSZRuzB05kW75LwWJd2/M AAHqvU+uczQSfGFboN8F5HYSJkvQ7OCyB8JGY5PEQa5/SZJPiR2j0Sxkt00UX78Eyoe5 YclQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=sEN7o3yuO56xvPDuUwKgUiAGNAgWvdh9IYFyMwir9eg=; b=V5qKIZgKq5kdYvlNyiyXtHLOXHX+ChhykOTM1w5nS7bKGsTtwG2L4U0wFZf8dVUpGk qPD+SLtSce+9eAE/kgYOEQQAGwJlK8ThO/pOadSS2OBWLIcfTFMt+jcbKTX1+7Llt+NB 73zYawDaLHmxZiAbg9OonbD/gpQk10evbXEamxNVr6uBdQ1cmXK8QP0ENpo39U2u/rj1 ygRtj2RXxU0Q9pFckkH6gLFHVGURyXWgcvYwDU4vdIwefc3FS3c4Pkds9EdByErHlmKX IzqbuIwP+NuX9Jqi91/tHHkOcIUFVaCT90Yx+OOrnszwSJrAPgQ5QUx9ugNM2r49KTA+ n7Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ULg0x+kV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e22si10460810ejr.19.2019.10.14.00.53.21; Mon, 14 Oct 2019 00:54:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ULg0x+kV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729817AbfJNHlS (ORCPT + 99 others); Mon, 14 Oct 2019 03:41:18 -0400 Received: from mail-yw1-f68.google.com ([209.85.161.68]:45479 "EHLO mail-yw1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725934AbfJNHlS (ORCPT ); Mon, 14 Oct 2019 03:41:18 -0400 Received: by mail-yw1-f68.google.com with SMTP id x65so5791654ywf.12; Mon, 14 Oct 2019 00:41:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sEN7o3yuO56xvPDuUwKgUiAGNAgWvdh9IYFyMwir9eg=; b=ULg0x+kVwo2eT+iIl7xEqgOGbAzw68nEs+Tf1EX6WbkwD6JZiL1PJq9RZFvkDJEthU ocfdC+Pu3HU8yKboyYft824CwBNxjIEzx8zyCCvt9khKX2P3rnlv1B/RrEDuwgE/1mG/ dO9bqvuIwHg7kYFJ6cR8Rxh98z5xxnACgBkXR6UU0aSIjsvAx7CLSTrvS1W1Yc6B2hbM xVKkvAsHm4h5LvwOcL7O3xZNwPSbX/1EH8Ha7BFbRmH59L7FLoc17rAHr/p/fi2/0aQd XhR8EuPvAa5rR0cGHGbuZEBAsY6jzipW6b/VsB7pAItTeOGbyHWLGnGRGwAir0skqH6K QqgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sEN7o3yuO56xvPDuUwKgUiAGNAgWvdh9IYFyMwir9eg=; b=DXvyBS28aRlaI4Nm2zm9PDsokcJzfyPcLEHlYJsVU0j0RHrmAa9qEDD5zxVlK28ji4 ml1ztiNxDpla9MB/4Fi6/e67HLH03pYAZoxK24oqgyeM2ZEFSDP9bjQEkz+e2oKC6ADc H1F0xnYUr1xJg21vou4jZXSwuji2q3qZYxLxyqlQ+QvbZZPNmIGO3V4zQbNXCPNHIEp6 5Ppbyox73jtqN1nu7Y5TwwH5bE0LXwUlymUgLQm08nUaahNkm+cmln4m1l6f8zusPJnG rcYMWa5pswj0kfIpeeAh6h8c4ymQr0kO4s/VjnbbjHsnrNGtONPuSscQJEv3P3MeVx0T eb9g== X-Gm-Message-State: APjAAAXWByfGe4yxcOb2m9/B6/Skxx0BU/08NY6/RscdEt2lLW451RjK F+wNl0HAM+zeC8huxgzgneyV7yaAcPAcYwgMqSU= X-Received: by 2002:a81:254d:: with SMTP id l74mr12130385ywl.409.1571038877410; Mon, 14 Oct 2019 00:41:17 -0700 (PDT) MIME-Version: 1.0 References: <20191011000609.29728-1-keescook@chromium.org> <20191011000609.29728-26-keescook@chromium.org> In-Reply-To: <20191011000609.29728-26-keescook@chromium.org> From: Max Filippov Date: Mon, 14 Oct 2019 00:41:06 -0700 Message-ID: Subject: Re: [PATCH v2 25/29] xtensa: Move EXCEPTION_TABLE to RO_DATA segment To: Kees Cook Cc: Borislav Petkov , Rick Edgecombe , Dave Hansen , Andy Lutomirski , Arnd Bergmann , Michael Ellerman , Heiko Carstens , Will Deacon , Linux-Arch , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, "open list:ALPHA PORT" , "open list:IA64 (Itanium) PL..." , linux-s390 , linux-c6x-dev@linux-c6x.org, Yoshinori Sato , Michal Simek , "open list:PARISC ARCHITECTURE" , "open list:TENSILICA XTENSA PORT (xtensa)" , "maintainer:X86 ARCHITECTURE..." , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 10, 2019 at 5:16 PM Kees Cook wrote: > > Since the EXCEPTION_TABLE is read-only, collapse it into RO_DATA. > > Signed-off-by: Kees Cook > --- > arch/xtensa/kernel/vmlinux.lds.S | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Acked-by: Max Filippov -- Thanks. -- Max