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=-2.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 EB4A1C35671 for ; Sun, 23 Feb 2020 17:18:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 92B76206E0 for ; Sun, 23 Feb 2020 17:18:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=tycho-ws.20150623.gappssmtp.com header.i=@tycho-ws.20150623.gappssmtp.com header.b="ZnXU0AiY" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727004AbgBWRR7 (ORCPT ); Sun, 23 Feb 2020 12:17:59 -0500 Received: from mail-il1-f193.google.com ([209.85.166.193]:40751 "EHLO mail-il1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726208AbgBWRR7 (ORCPT ); Sun, 23 Feb 2020 12:17:59 -0500 Received: by mail-il1-f193.google.com with SMTP id i7so5777658ilr.7 for ; Sun, 23 Feb 2020 09:17:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tycho-ws.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=7SmTtNPBn2T+cb23Q+tOWXTb1iD23pHN7RwXvfrkL9o=; b=ZnXU0AiYUqDbHSfyrXM/7uT2bHICmi3a4U4nFQldVTYotEN+5e57QiIPpx2j2zSfOD 3zHezfkmTwch9bXv9L7qNVZUISXIL0ZasnOGiPhmqKXqeiIVBh77ikdN889zLXA/s20t kIe3/boDVkpoKbgdUfDmkRZ+yGN7pFsLsC7uPiX5c6B+IT72iz4zcMTO2mqIXA6QSpG0 3IzPiqyfGN/L0Zek8hJCWHEYpx2GRaDD6PYYsl7XSj9fzpSniygzvpB35hW3mOvkoSUQ R3ro9r1cbIxool1PKW0MSGoomdwH8lDS3G2/ySGB76ZVesjXakuXvUgH4TbBHPkGAURr ZpjQ== 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:user-agent; bh=7SmTtNPBn2T+cb23Q+tOWXTb1iD23pHN7RwXvfrkL9o=; b=p03hs7J9kcMgl+zJWUUbbbyUqSUqLSlmuEJiULjJnEp2+4WS64DBxKo6ER6Yq1VTD2 4BTAibgrjIm31xYXy99X/Nq+77GWIDppy2X2YG5cd1U8sHATA7omdfV9TupFvpznppFf YmafjHDQSDIFnB5NTj62cZf5jYttaVkbWhtHAw/eFUD37Cvdq1SYXtjRfIGYh/OV+Y3Q mm4kLVY1b+4jzVfI5HPjpilV5uPGP7SAfXTKVh6sxLDT4Tfovodn47jH4vdPkfPhLoPu /ejNvkxnSNNqtsp3dxoAGy3HyxcHl6D5AGFQgGxtKCu9gFKmkNguOxmKz/LNO2SrsK+G gHXw== X-Gm-Message-State: APjAAAVnCtJS7orbRSiiFpinQCYbp0OOBVEhLHCL9lCMSzNsCOOrZdWk Lyxj9fODx/+pySrHAvO7jm79GvPeAtE= X-Google-Smtp-Source: APXvYqw63W2EK7XZYK5s2ZWoKQ8ad6sFR+En3xfuokU2Dmq5tIeMmY7/FNGj8fKk5l4fl6ybs2iYuw== X-Received: by 2002:a92:9a47:: with SMTP id t68mr50874060ili.155.1582478278014; Sun, 23 Feb 2020 09:17:58 -0800 (PST) Received: from cisco ([2601:282:902:b340:8001:28d8:b4a3:8673]) by smtp.gmail.com with ESMTPSA id q1sm2430745iog.8.2020.02.23.09.17.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Feb 2020 09:17:57 -0800 (PST) Date: Sun, 23 Feb 2020 10:17:57 -0700 From: Tycho Andersen To: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Cc: David Abdurachmanov , Kees Cook , Andy Lutomirski , Paul Walmsley , Oleg Nesterov Subject: Re: [PATCH] riscv: fix seccomp reject syscall code path Message-ID: <20200223171757.GB22040@cisco> References: <20200208151817.12383-1-tycho@tycho.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200208151817.12383-1-tycho@tycho.ws> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Feb 08, 2020 at 08:18:17AM -0700, Tycho Andersen wrote: > ... Ping, any risc-v people have thoughts on this? Tycho 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=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 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 B899DC35671 for ; Sun, 23 Feb 2020 17:18:04 +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 8EBCA206E0 for ; Sun, 23 Feb 2020 17:18:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="g9OWYdiR"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=tycho-ws.20150623.gappssmtp.com header.i=@tycho-ws.20150623.gappssmtp.com header.b="ZnXU0AiY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8EBCA206E0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=tycho.ws 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=7SmTtNPBn2T+cb23Q+tOWXTb1iD23pHN7RwXvfrkL9o=; b=g9OWYdiRKT0W6zQiK2O1+0AMP q0UDMvjLreQDZpKYV2XtTTvH6yQTmLJ5WsFZ+IPNrIdVxOZITtxO82CDqmvp406tOfkMyZW0Emxbo 0+kars3X35TuunVz4bgsfdh0u0i6MDxnsup5os4kdtrbP7vx0ljLvOlTwL7AKms+5P3lJPy5uiHBE dIZZsupZMCQ2hItS0igCuH8rPa9/97rcii/uJOE2i20+TOzg4f6BGrn1jlQRBiWgYxFGM17iTO/YV b33x1lMfbFMRZqp9/1oo5fU89L7/GQHKNhEkw6e1q55tzLjxvZ6TkIPFFW+cx+MzK3B1+sGfMZAWD a7MneAymQ==; 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 1j5utG-0003dC-5w; Sun, 23 Feb 2020 17:18:02 +0000 Received: from mail-il1-x142.google.com ([2607:f8b0:4864:20::142]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j5utD-0003ct-I8 for linux-riscv@lists.infradead.org; Sun, 23 Feb 2020 17:18:00 +0000 Received: by mail-il1-x142.google.com with SMTP id s85so5770741ill.11 for ; Sun, 23 Feb 2020 09:17:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tycho-ws.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=7SmTtNPBn2T+cb23Q+tOWXTb1iD23pHN7RwXvfrkL9o=; b=ZnXU0AiYUqDbHSfyrXM/7uT2bHICmi3a4U4nFQldVTYotEN+5e57QiIPpx2j2zSfOD 3zHezfkmTwch9bXv9L7qNVZUISXIL0ZasnOGiPhmqKXqeiIVBh77ikdN889zLXA/s20t kIe3/boDVkpoKbgdUfDmkRZ+yGN7pFsLsC7uPiX5c6B+IT72iz4zcMTO2mqIXA6QSpG0 3IzPiqyfGN/L0Zek8hJCWHEYpx2GRaDD6PYYsl7XSj9fzpSniygzvpB35hW3mOvkoSUQ R3ro9r1cbIxool1PKW0MSGoomdwH8lDS3G2/ySGB76ZVesjXakuXvUgH4TbBHPkGAURr ZpjQ== 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:user-agent; bh=7SmTtNPBn2T+cb23Q+tOWXTb1iD23pHN7RwXvfrkL9o=; b=rVY884Kbb3xita1ph8z2A5o7ehip3CmNzfjSaTIO/zR19TFZHmPHUm4ICIFQOVmrf6 3Taocy/u8zkQRGqXlTQaMjbrfYAmQmoW04NG/0G/kQAkX/zYtkmKZPOhNFaJfGSOhiW4 w09Pchia+pfoBU7iojwJbhH6QdTf/yInIp4Zzt/B6U21uyW3824eafVNALZlbMqsgcsW 3ytGt7Jb9/7kVNnwB2IdZTjRJ4FzR/N50W2rfEff31ovz94BbesR+ZkJFPIwCCozr5ao Af11jUtQOUzgaRuFlmbAF+Waa9TmRY38KICd/LNbI1iGHBR9HQmALbhUdlP7EX3TXO43 8A+g== X-Gm-Message-State: APjAAAWol/nqYj52mDIzlzWrPSu4hmWtaGEGTqg2SGcGH34a7IiDJJCa mjGBgikRR139iBp4RXVU0U5WGg== X-Google-Smtp-Source: APXvYqw63W2EK7XZYK5s2ZWoKQ8ad6sFR+En3xfuokU2Dmq5tIeMmY7/FNGj8fKk5l4fl6ybs2iYuw== X-Received: by 2002:a92:9a47:: with SMTP id t68mr50874060ili.155.1582478278014; Sun, 23 Feb 2020 09:17:58 -0800 (PST) Received: from cisco ([2601:282:902:b340:8001:28d8:b4a3:8673]) by smtp.gmail.com with ESMTPSA id q1sm2430745iog.8.2020.02.23.09.17.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Feb 2020 09:17:57 -0800 (PST) Date: Sun, 23 Feb 2020 10:17:57 -0700 From: Tycho Andersen To: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH] riscv: fix seccomp reject syscall code path Message-ID: <20200223171757.GB22040@cisco> References: <20200208151817.12383-1-tycho@tycho.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200208151817.12383-1-tycho@tycho.ws> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200223_091759_743323_38E9BB02 X-CRM114-Status: UNSURE ( 5.52 ) 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: Andy Lutomirski , Oleg Nesterov , Kees Cook , Paul Walmsley , David Abdurachmanov Sender: "linux-riscv" Errors-To: linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org On Sat, Feb 08, 2020 at 08:18:17AM -0700, Tycho Andersen wrote: > ... Ping, any risc-v people have thoughts on this? Tycho