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 AEC22C3A5A1 for ; Wed, 28 Aug 2019 23:44:30 +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 7EFD52189D for ; Wed, 28 Aug 2019 23:44:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="OE4KlIvs"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="lF/ZY7bI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7EFD52189D 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: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=x0BJtK5jE6skMPWpkYfu9XmywoTwWB3vjD7jbBnqnLI=; b=OE4KlIvstTUoGx AQRjB94G3Bck+bm2Xuud8E1PWdvLKlXj035KZQEbkFTqhBnvgJcQv9vv5te7Nxcnp4e2qRSACUrSY 9rx3FRmumbya3XnW/3kbAfF+askJZerMm6fCSONfb8Y1YnMek4CZmhwsOJ7oaWqIiKDYIuS9/Zayh jjmzcameNK8Zd/hWuimdtk16ZCgiWmuNrfnZ40+15iJVimsDd51M5QA5basMsUCrE8aFvS1IVxGZ1 Mq1fWii+2jgtcaSEIW4L+LlGSKW6booE+iUCmqh9L8vnzqJ0A+NRynJPGmcsJI+WGetXkXWq2MKBq hl1eFUBAUsBk1/pgqgTw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i37c2-0005Ls-Qw; Wed, 28 Aug 2019 23:44:26 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i37c0-0005Lb-WB for linux-riscv@lists.infradead.org; Wed, 28 Aug 2019 23:44:26 +0000 Received: by mail-pf1-x444.google.com with SMTP id y9so784641pfl.4 for ; Wed, 28 Aug 2019 16:44:24 -0700 (PDT) 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=v+7Vi0K+7iSjD64GjXiDvUOi+ZQN8cBfyBO0kWUqTAo=; b=lF/ZY7bIW43kPygO0eYojMdmyC7EdSWTlC9x4AJsKje+Nph5f5KWl56qJUptdakavf 3+VDYA9HoxjM2CxX7RveAOQ6cYpyLK7PcCGUnKa9xcsEa9/CsVN0BL9Hxe3VXpvggtia fXrDMrD7JO7Zraw6pd2yZtpnDgWouvtCHOO9c= 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=v+7Vi0K+7iSjD64GjXiDvUOi+ZQN8cBfyBO0kWUqTAo=; b=P2YHwvQNSevhOAfx6owHmDl4vvoVbxi8+20cqV+KT8sfKecAi/PUDLCcXv1gholydA t/93PuqPyb5gpV0HChdugiNRsB6ganrTulos+zPz3syMM1HqoNGQCdE5ohH/YAtahkuJ 0nem1OzO2B/QzzyDbMqYit+5FYmwh+3qY/8OtXi5FkXuYSioYH9VfnF/g6RSb9GDEuO8 LkZf1fra8TFcIU8GdiZweHJTiu4qokjt7CGNspuRJfkE6ZmW+OG2ClxWvLESw6HWQIsu 97wG9e8cIZ13yfMbHRY59npyO9QfKebo+B4TYpIgp4tLq/8Mjh+6qf+M51ttsjjcW9Td drIw== X-Gm-Message-State: APjAAAUKaYMF8yqvcXwtlXKD6uh2AX4A7B4yUya4AC3LynZQ2HbhoOJm hUfrA6TUlcyY0E4hGwQy3SiXRpla5QY= X-Google-Smtp-Source: APXvYqxxx4925TvYESBbl7jTNbgz0DAnFrfbfZvXEyhrWpWa33PYoRop2V/NoIg6VNwG32B8ZouAmQ== X-Received: by 2002:a63:3dcd:: with SMTP id k196mr5739639pga.45.1567035864264; Wed, 28 Aug 2019 16:44:24 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id t4sm586675pfq.153.2019.08.28.16.44.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Aug 2019 16:44:23 -0700 (PDT) Date: Wed, 28 Aug 2019 16:44:21 -0700 From: Kees Cook To: David Abdurachmanov Subject: Re: [PATCH v2] riscv: add support for SECCOMP and SECCOMP_FILTER Message-ID: <201908281643.1B89EB1E6@keescook> References: <20190822205533.4877-1-david.abdurachmanov@sifive.com> <201908251451.73C6812E8@keescook> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190828_164425_061918_3F13134F X-CRM114-Status: UNSURE ( 7.74 ) 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: Song Liu , Alan Kao , Palmer Dabbelt , Alexei Starovoitov , Oleg Nesterov , linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org, Shuah Khan , Daniel Borkmann , Yonghong Song , me@carlosedp.com, Albert Ou , Alexios Zavras , Paul Walmsley , Thomas Gleixner , Allison Randal , Will Drewry , David Abdurachmanov , netdev@vger.kernel.org, Anup Patel , linux-kernel@vger.kernel.org, Andy Lutomirski , Vincent Chen , bpf@vger.kernel.org, Martin KaFai Lau Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+infradead-linux-riscv=archiver.kernel.org@lists.infradead.org On Wed, Aug 28, 2019 at 02:37:34PM -0700, David Abdurachmanov wrote: > --disk path=$PWD/disk \ > --boot kernel=$PWD/${FIRMWARE} \ This is where I tripped over things. How do I specify the kernel to boot from OUTSIDE the disk image? -- Kees Cook _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv