Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4472071imm; Mon, 15 Oct 2018 15:43:20 -0700 (PDT) X-Google-Smtp-Source: ACcGV602O2OVIWKrL68BRuOGY6wIHkF9oT4fnBilIkLvxyw4otvco6UoVKhjwPDRhLI13nUCnjNm X-Received: by 2002:a62:32c4:: with SMTP id y187-v6mr19403838pfy.4.1539643400778; Mon, 15 Oct 2018 15:43:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539643400; cv=none; d=google.com; s=arc-20160816; b=nsaJzNPK9Y20Y1LHxUDWBMPuSPY6tG7c3nBKNRixsU/oUAADDJW+SieTMlrEFSt3/7 Lu6IoGdy1B+H7vq0Ym3WkTngROza3CPKAjQfk+bAIsWykgd7G0KjML6r/7jH0oAzSjvo Jf3IhRZ3oRiaCIm8nMm0wFNSSiDJpP46pHTccCZHwY2J0+DAHq0fcFEyzQOl5Bz7yO3g KukU3CpJC/aByX+y1thO5lnx6ziAXnLmf0TdYZi2D2lTMdPGlHLAhsR0RHdi4l5fxLdE WFesyTJnHDRO9eOwyx5X2btksMnHG4M4/g6VFQfQsGpBqi0T+/zXuXaTLjtLWzuD950p q8Dw== 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 :references:in-reply-to:mime-version:dkim-signature; bh=JlaMNNLZrRMcmPipXvj1MaffeFHJzKl11I1sInu5gCg=; b=HGkDCZh9BbEIFVgFmfhteQDdp4nNGRh3JlFRRY8t8q5w95hQ0CKPAV2o7X9goLUL7w PZnSNo9ROvdmPbxSZbBp772eVUYO4oXhWl2tEm4gZ6oVlrrjHzRKmRLcXc5UN4lqwvEj GFNS84j5dW6LJrf6JlD+fok25nN8efe6Sp+GCmYR/RGGpvWeo6KHIuqA/+H6asHzTYV7 tEDt5AMZTpAKwX5ABlb57k7ltkaKSWegyThZzlYvVFC+oH9RoqITSFMgPDzYodrfjQJ4 13cR8EC31uR0C+S14B5oCPiI7mOzKD58yUbGOf5i3wNf1Qkl1fbQ91zUkhpJ+cesW31J xddg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=BaSRR06A; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p19-v6si12022363pfi.12.2018.10.15.15.43.04; Mon, 15 Oct 2018 15:43:20 -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=@chromium.org header.s=google header.b=BaSRR06A; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727108AbeJPG3x (ORCPT + 99 others); Tue, 16 Oct 2018 02:29:53 -0400 Received: from mail-yw1-f67.google.com ([209.85.161.67]:42332 "EHLO mail-yw1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726430AbeJPG3x (ORCPT ); Tue, 16 Oct 2018 02:29:53 -0400 Received: by mail-yw1-f67.google.com with SMTP id a197-v6so8163421ywh.9 for ; Mon, 15 Oct 2018 15:42:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JlaMNNLZrRMcmPipXvj1MaffeFHJzKl11I1sInu5gCg=; b=BaSRR06AmgkkvNJPCSEbCGNGzOwshYKfXZmAzg/CYB2hgUxzpUmROD21/qqVD2CsX7 qGXVJF3lsGXiPBkG3S+7GWHJPexOvtz5fQ9AY6iXUMTiWQWAqkFQyJiIN3ytN2jVdwAa kcYkyOiM0IKZKe3YHYe0dcU00snUiY1Kn/INA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JlaMNNLZrRMcmPipXvj1MaffeFHJzKl11I1sInu5gCg=; b=DVQJx3DeuoVwwxMrYMqhkGzeAfvCY/dzQZFUeiPrjmNApEszvvglgjdhFnDQDrzlGN peuwSKqdOiVgTueZUJzJ/7NJqBXTq+IKaQtEGbeWp4VTPwnq9JeSqAIGN59RnDDIPnIw KxuDhu4TNqdO/8yjVM6stTzhA2IE9IzMgk6IzA+ewZa5BoZNe4BLBoylC2o87LNSyhum RAUEv+v7SZACGNWFypRVtIOOAAMMBTEco8MRhd6yA+ZmRuTHD3Wj/t/H21buIE2CBDzT m8yKa6X2NduYG/igWZCgd2/baC01GtfWrjFSmNXAcHGJSD06zER/CrqRqKMDcUUI9eqh GNuQ== X-Gm-Message-State: ABuFfoiF5oLl7GDjYEjqKWU2M2VUFCSxxLSle+u+IWxq37bBzsI4VLKj aSXfPA0w52uI+I+LzhlFMdxw4P8OscI= X-Received: by 2002:a0d:f385:: with SMTP id c127-v6mr10294265ywf.10.1539643354698; Mon, 15 Oct 2018 15:42:34 -0700 (PDT) Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com. [209.85.219.181]) by smtp.gmail.com with ESMTPSA id j202-v6sm3075114ywb.69.2018.10.15.15.42.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Oct 2018 15:42:33 -0700 (PDT) Received: by mail-yb1-f181.google.com with SMTP id o8-v6so8140668ybk.13 for ; Mon, 15 Oct 2018 15:42:32 -0700 (PDT) X-Received: by 2002:a25:8091:: with SMTP id n17-v6mr10381772ybk.209.1539643352452; Mon, 15 Oct 2018 15:42:32 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:d116:0:0:0:0:0 with HTTP; Mon, 15 Oct 2018 15:42:31 -0700 (PDT) In-Reply-To: <20181005084754.20950-1-kristina.martsenko@arm.com> References: <20181005084754.20950-1-kristina.martsenko@arm.com> From: Kees Cook Date: Mon, 15 Oct 2018 15:42:31 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 00/17] ARMv8.3 pointer authentication support To: Kristina Martsenko Cc: linux-arm-kernel , Adam Wallis , Amit Kachhap , Andrew Jones , Ard Biesheuvel , Arnd Bergmann , Catalin Marinas , Christoffer Dall , Dave P Martin , Jacob Bramley , Marc Zyngier , Mark Rutland , Ramana Radhakrishnan , "Suzuki K . Poulose" , Will Deacon , kvmarm@lists.cs.columbia.edu, linux-arch , 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 Fri, Oct 5, 2018 at 1:47 AM, Kristina Martsenko wrote: > This series adds support for the ARMv8.3 pointer authentication > extension. The series contains Mark's original patches to enable pointer > authentication for userspace [1], followed by early RFC patches using > pointer authentication in the kernel. It wasn't obvious to me where the PAC mismatch exceptions will be caught. I'm mainly curious to compare the PAC exception handling to the existing stack-protector panic(). Can you point me to which routines manage that? (Perhaps I just missed it in the series...) Thanks for the series! I'm quite excited for ARMv8.3 hardware. :) -Kees -- Kees Cook Pixel Security