Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1540429ybl; Wed, 28 Aug 2019 16:45:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzDIPKXL3URZZyDXzYrkNKTyo5BhqRv5ZMIQ2OGoky21+Eh8s9XCncPwyhSuroT+JL51TB0 X-Received: by 2002:a63:8dc9:: with SMTP id z192mr5557375pgd.151.1567035933471; Wed, 28 Aug 2019 16:45:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567035933; cv=none; d=google.com; s=arc-20160816; b=f3zMVzLd4V7CTwltFh5HpoHeYOsbMhuFdHB7y3yBZONLRFxgeL6OuNYUhkb4r2HQ8x Cdt7T0ji05aM4+aNwI/iFMtTbD3Skm1di6sHivup0MObGookkdGtgjwCunQJMWeXrX6x IZu+r7NSxCt4wBeA4cVqLcLSPBHIuDMFNZGHlJY9HVireHQRaZOfninswxUl5K+o0TrT 78gHrpFuopYCbZ3f5qT6doCWRgIsdf5QkWC5IeXvp0TWv6QSR+u2brUqtk+vmPJ0Q76w 23Pqrfbe4sTR74JfEBEtZOqSd3vznt4Ws1D6ySyw2Nj/S04wDrXxwCrEmbvU7+Okz6hj cAig== 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=v+7Vi0K+7iSjD64GjXiDvUOi+ZQN8cBfyBO0kWUqTAo=; b=tY/5PAWfwBigB2jJtAOZbm4wydpycHyPQShuK4S5M59O+APhb61gpBrVsEQiyF4ayK z9jGckYIITb0vRuVPNUCYbqeiz8fRZSyj+aDBsn88Adrghry6zvPgyEVhlSygbekgC4/ 250Z230dVvRZdDaqnLCoZNI7kdtD26qxsy1XRPvS2WRsu/OmsHVa4EkKkko1exqyDGEB jVJYUBDO3b9sCYhDiKhMG/FrLb/9MSqKqyZpLzkA2QKfvsjqWFrZTIK3oevRiN+fHk8A 9pxF9Cbs3f3NuFm9BrmC0CckLkUcPCLJcgdbJoc5riAo606hsN7fPMAmz4ZvZ2AJ3siJ b2EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="lF/ZY7bI"; 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 n5si608892pjp.90.2019.08.28.16.45.14; Wed, 28 Aug 2019 16:45:33 -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="lF/ZY7bI"; 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 S1726642AbfH1XoZ (ORCPT + 99 others); Wed, 28 Aug 2019 19:44:25 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:46598 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726400AbfH1XoZ (ORCPT ); Wed, 28 Aug 2019 19:44:25 -0400 Received: by mail-pg1-f196.google.com with SMTP id m3so524834pgv.13 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=qqKcg3ylPbfiX+8SKXApHA0gGBiSjrWlrWvNSfsVuYNJfUFvVz/GDMJCWGOjsRs95Q s7KDE8XfqJ9blqmayQ05xk4syzJMjhJENrqs3MDsxCDLzJCg8wWxvN6uXXz0SW7wA+GS VWh3B0gCm+qnaJSdR9BO83fUs7sTuFBTNlxKdcpSa2R72s6cyt0Z/kk1Ya0PCd3ncOSj eGDVvxIbbxDVMlkcdW+zzK/KxVxut7JsJXzbsE6UoI9HWaLaUWGk5aTgMnBXEBdFk+2H 2hdHgSY8LFxGhraqHVNN9H73OoT4NN32yU3JT4Cg2xK6Z5A1djnJMYI52r33/lSEaa1e q1FA== X-Gm-Message-State: APjAAAVVp3NLpTxOC/ZecsECOEjuPJwBNiCCnv2HxTBACZls/MKaVFQm /tikggZPwn3374r6/P6VFSqYdQ== 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 Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Oleg Nesterov , Andy Lutomirski , Will Drewry , Shuah Khan , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , David Abdurachmanov , Thomas Gleixner , Allison Randal , Alexios Zavras , Anup Patel , Vincent Chen , Alan Kao , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, me@carlosedp.com 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-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 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