From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A0347C3F2C6 for ; Tue, 3 Mar 2020 04:46:53 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6F638208C3 for ; Tue, 3 Mar 2020 04:46:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ikIVj8hW"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="EHIAT/zU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6F638208C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To :Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=UFYxSZrni6CvNffGhjXolw+msCaYdHC1D/0ujqewWaU=; b=ikIVj8hWY95khJueDaR2cp7gl ay0VDXSLX9fVgFACWAPzSd5yifhNejWhh7/P99vqIqr9jsGkNXuFxaX/+2gOZEyb8LefNbE+csIy6 M3BsQPoGUjeis3tB0pHTMX3Zbkj2MZhhDzRFEzlPqcdgAZ7L+kmaKqo4iBs+CfVPoFnW4s2c/0fUT WMXPuRi+wJs6F/bfwmnuBUenh7uowfxX4DhAGs9RE7lri2gcrZNorgJ6dkz5cDKv+ao1D+JpG7arZ wDQ5bQxy15d1xkbeYInjsAEkOsoD2lEiwVOLTMhnLpcxRns29G9n8KVRBrPwIDmuNQz8MnoOOpmqI 4S+kWYD6w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j8zSF-0000nE-BK; Tue, 03 Mar 2020 04:46:51 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j8zSC-0000mn-Su for linux-riscv@lists.infradead.org; Tue, 03 Mar 2020 04:46:50 +0000 Received: by mail-pg1-x544.google.com with SMTP id m5so939068pgg.0 for ; Mon, 02 Mar 2020 20:46:48 -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=UFYxSZrni6CvNffGhjXolw+msCaYdHC1D/0ujqewWaU=; b=EHIAT/zU9e9bsS5E6eozCM31t5B2bkWmjLdU6kV8nbjDVj9mzBeGrUU9NPASBuDm4T G6Darqnz0AcNltKumEoIANitAHpB3Jh3/pV6iuzjIT9BeS/4LcvF1GdDnqupXSHncm4G 8ByPerSV7B0QEeileoYqy+e8w11f06FmL2KU8= 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=UFYxSZrni6CvNffGhjXolw+msCaYdHC1D/0ujqewWaU=; b=KFrNi2mmwdjEjk4Yj3XRnpI1qpZYgKBpT3gDS+K8xGGJ2RzcWslSF34WL0HEo4a+eI Qk1rzeg27u3O/j/N7qpmGnYoGtRTTlmZ4XEODs+K6znK+z1NA9qedA1KcRLyvezZoueh XBZzX2AyNJ0HDu5uW7SpG0mg/4xv/0YHpZc2YXkcmkJRtVcNu70+oH7FhuPBm6LR/elH RffVRAcPGPVTBk69umWWsAEvlg0GATNDB5I7LlvS2zlNu2lpMKzLyOV/CgbEUbJtkfhf 04KedWNY6pJEfn8/sSi5xYEg3z4d14PkcSHa5LkmA2XxCb8Qak6w8rsCoRbisG9gttRf Cjfw== X-Gm-Message-State: ANhLgQ1IyNeN81ahbDGyMWsNO4NJQpB1UbybiSu3b8p5yjOOe2JPttjG FFid7beL7AOiBAT0WkDeb7psng== X-Google-Smtp-Source: ADFU+vu/TNvNc0FLRpHo+HDfp6KHd1XVEFDDJc21QkTufe7swPXY9rij6UOEsPoMuIJqL2GUKMScZg== X-Received: by 2002:a63:114a:: with SMTP id 10mr2265128pgr.185.1583210808160; Mon, 02 Mar 2020 20:46:48 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id r1sm879527pgh.84.2020.03.02.20.46.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 20:46:47 -0800 (PST) Date: Mon, 2 Mar 2020 20:46:46 -0800 From: Kees Cook To: Paul Walmsley Subject: Re: [PATCH] riscv: fix seccomp reject syscall code path Message-ID: <202003022042.2A99B9B0@keescook> References: <20200208151817.12383-1-tycho@tycho.ws> <20200223171757.GB22040@cisco> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200223171757.GB22040@cisco> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200302_204648_956886_E0AB86BB X-CRM114-Status: UNSURE ( 8.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tycho Andersen , Albert Ou , David Abdurachmanov , linux-kernel@vger.kernel.org, Oleg Nesterov , Andy Lutomirski , Keith Packard , Palmer Dabbelt , linux-riscv@lists.infradead.org Sender: "linux-riscv" Errors-To: linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org 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/ -- Kees Cook From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D73C8C3F2C6 for ; Tue, 3 Mar 2020 04:46:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9F813208C3 for ; Tue, 3 Mar 2020 04:46:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="EHIAT/zU" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727385AbgCCEqt (ORCPT ); Mon, 2 Mar 2020 23:46:49 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:46644 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726954AbgCCEqt (ORCPT ); Mon, 2 Mar 2020 23:46:49 -0500 Received: by mail-pf1-f196.google.com with SMTP id o24so801108pfp.13 for ; Mon, 02 Mar 2020 20:46:48 -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=UFYxSZrni6CvNffGhjXolw+msCaYdHC1D/0ujqewWaU=; b=EHIAT/zU9e9bsS5E6eozCM31t5B2bkWmjLdU6kV8nbjDVj9mzBeGrUU9NPASBuDm4T G6Darqnz0AcNltKumEoIANitAHpB3Jh3/pV6iuzjIT9BeS/4LcvF1GdDnqupXSHncm4G 8ByPerSV7B0QEeileoYqy+e8w11f06FmL2KU8= 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=UFYxSZrni6CvNffGhjXolw+msCaYdHC1D/0ujqewWaU=; b=E8GquRrjIwMz7tS3QJCnbxaXylNjZlJn3ya5a5T/XFxO8YuuWYAIUz0bhxHiJljT55 AuT7o2DlmD4UKbQKbm4QdpNIUwIu1iofvwxWvDuSIiGHHGdbE1HTMTjbzg1Gwc6FFWB2 n6Nwjl/c6qPYQr8l0/th8dNAuDi2i67Ix2dxeOKLFoBuY8sOPJSYGXZxyeYeIyohrS4g fd+oV8uD/i4ADW5NZWJ/KIVYkyZajLGk0VdZQAc/XSY2HOjeDXoOXQOBMQDPpni4ifw0 w7fy6FmHFVipgEDusIBSmvoAj5uZuYoB47KhFNkOvCmJ7avDtmjmdZd0TKMSuBG6s3sI k97Q== X-Gm-Message-State: ANhLgQ1dAieyVkuvS9zwyFM6UeYrqT3FEyI3UGLEI6NMoUi9TE9lCcJI y1BQvwA3lh0+98KvS+xAQlVMFg== X-Google-Smtp-Source: ADFU+vu/TNvNc0FLRpHo+HDfp6KHd1XVEFDDJc21QkTufe7swPXY9rij6UOEsPoMuIJqL2GUKMScZg== X-Received: by 2002:a63:114a:: with SMTP id 10mr2265128pgr.185.1583210808160; Mon, 02 Mar 2020 20:46:48 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id r1sm879527pgh.84.2020.03.02.20.46.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 20:46:47 -0800 (PST) Date: Mon, 2 Mar 2020 20:46:46 -0800 From: Kees Cook To: Paul Walmsley Cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, David Abdurachmanov , Andy Lutomirski , Oleg Nesterov , Palmer Dabbelt , Albert Ou , Keith Packard , Tycho Andersen Subject: Re: [PATCH] riscv: fix seccomp reject syscall code path Message-ID: <202003022042.2A99B9B0@keescook> References: <20200208151817.12383-1-tycho@tycho.ws> <20200223171757.GB22040@cisco> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200223171757.GB22040@cisco> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/ -- Kees Cook