Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3834906ybf; Tue, 3 Mar 2020 13:50:46 -0800 (PST) X-Google-Smtp-Source: ADFU+vseqqAR1OGbBGDx2ap2JBuZujw24AimKHfkyT4WSmSBi5tVVIUoB5IKS1tLnSQxdVpkkmtJ X-Received: by 2002:a05:6830:310a:: with SMTP id b10mr4945476ots.210.1583272245850; Tue, 03 Mar 2020 13:50:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583272245; cv=none; d=google.com; s=arc-20160816; b=QrvBCEeH/Zn8mbIJQpSvJjR+155QiCh5prFLBkvICHYl2TRuQYLk2xjWu7shdCJC5N CtjQU3Gkp86PcxBu+aBJ4jHlvwlY5S71VP9M0dYYnCgOj7uB3ZC/DLmMJiKNKdpRALSm w4MeyLuaFFCny7r5NYyhTqI+gsmoVRigeqcYFghyELLCY27DjQPhlSHpVS7MInwF0O4i +tniLtS8PC86if60/EMtwTwZIDX2CWtidpGNXHwjKYUOZaxECl2yH6KUf4w0Yhft7tjm vxq762pCZBTr6C6DUVSltBXoDRagKNnhhr0qMaAaCWtNxi02lA14z2G5rMllU6BfvQw3 PSJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=5FXbiSS6phrCyBSlDdRJ6x/G1vIq9Bm0/o5FHfb1vIw=; b=yJdP7Qd6oVaSGh0FzZYxDe9OIhK0PJIdOhIrJV4te11cr0XWcwqalnTm2pCe5CwxRv zaAXLhMaZENjZS3Ocbr3GSNky6Fc4kVhTqoROcT1Sk9PYV56THxjPvhSREFnP0U3bB3h EhwbDHiCg/r5tATaqsS3Zw72mgX+nwWJOhwUp0xTpCkhEidH+6DVufWVSWX6+Kx/GpAf cfaagDXvm8tsJ5/yRMYVg+xO1Oy3X3Rc6fht7xzaah5sHHIgDWPUaLbDIbrxRTeI0l4/ RnjT+50SSDr+GF46AR2aW7TvBRa/rCii8Yg3MR4OZgX1ePjZetYCU8sewxzG2Q7/xvcF xYVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jOAECUUu; 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 18si25074oiq.71.2020.03.03.13.50.34; Tue, 03 Mar 2020 13:50:45 -0800 (PST) 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=jOAECUUu; 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 S1732451AbgCCVM6 (ORCPT + 99 others); Tue, 3 Mar 2020 16:12:58 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:45613 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732397AbgCCVM6 (ORCPT ); Tue, 3 Mar 2020 16:12:58 -0500 Received: by mail-pg1-f195.google.com with SMTP id m15so2109201pgv.12 for ; Tue, 03 Mar 2020 13:12:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=5FXbiSS6phrCyBSlDdRJ6x/G1vIq9Bm0/o5FHfb1vIw=; b=jOAECUUuemFMG+jcbroZneMtc7qWtKzzWb6YZ9KudcoaFS9YHVa2rAlh8vcMqr9TJF /CXBV46A2COS8wJsUSXE7j8rLvZ5nCTjMeQVm9aZQAI51KRHRN/I6OyveCMeqjE6dvX/ ER6p7yw2ITr+oI7Kmz3rEm8pIGLlYzTHjEVaw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=5FXbiSS6phrCyBSlDdRJ6x/G1vIq9Bm0/o5FHfb1vIw=; b=S7VsJf0jx+TXJCbMH8RehiRGiwej4/MMeZkJZtXjsMIvp/5Zc9sh8GhIeYYEA6y+bH BCD1eV1CorNNkLbCk8W8kH8S5ZoJUsmn+NtK1uuD5SCZAtV7LYO/GBwYMJ5WrzBenqWa 8I9LQ4eDNYcfV3EudkD3u6OGV+oU976LynwlPy8NcURFFyjyULUkEcig0wa5h9W7Qocq dVLg2ejnNLJyexYanN7lrjvQejmZDTSppaa/PLeROwNvshVrQ3/AtU2SHF1C6i8Q3T9X rVFIajMRu8lJ7i5MGJhMZbG6U/vvDHIfSpXTGM1ul4nT536Nl9R6i8svFskZhf0yKLP1 HfKQ== X-Gm-Message-State: ANhLgQ0m/agaXNDajfklOD5C8GaPZxN1jJL5DtfDXYa6noZlUgUPCrXb GSfn4PWK/jru5gsWY6run6eLXw== X-Received: by 2002:a63:ab04:: with SMTP id p4mr5861705pgf.37.1583269976999; Tue, 03 Mar 2020 13:12:56 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id i5sm123701pju.42.2020.03.03.13.12.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Mar 2020 13:12:55 -0800 (PST) Date: Tue, 3 Mar 2020 13:12:54 -0800 From: Kees Cook To: Palmer Dabbelt Cc: Paul Walmsley , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, david.abdurachmanov@gmail.com, luto@amacapital.net, oleg@redhat.com, aou@eecs.berkeley.edu, keith.packard@sifive.com, tycho@tycho.ws Subject: Re: [PATCH] riscv: fix seccomp reject syscall code path Message-ID: <202003031312.3EB46603@keescook> References: <202003022042.2A99B9B0@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 03, 2020 at 09:55:10AM -0800, Palmer Dabbelt wrote: > On Mon, 02 Mar 2020 20:46:46 PST (-0800), keescook@chromium.org wrote: > > On Sun, Feb 23, 2020 at 10:17:57AM -0700, Tycho Andersen wrote: > > > On Sat, Feb 08, 2020 at 08:18:17AM -0700, Tycho Andersen wrote: > > > > ... > > > > > > Ping, any risc-v people have thoughts on this? > > > > > > Tycho > > > > Re-ping. :) Can someone please pick this up? Original patch here: > > https://lore.kernel.org/lkml/20200208151817.12383-1-tycho@tycho.ws/ > > Sorry, the other messages didn't end up in my inbox. I'll take a look, as this > seems like a good candidate for rc5. Awesome; thanks! -Kees -- Kees Cook