Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp693214imp; Thu, 21 Feb 2019 09:16:21 -0800 (PST) X-Google-Smtp-Source: AHgI3IYIL54By6h3mFrXfDlUIslTQ79C/0LilK2/zLSuzy229YmIaPCzdEo+yREt7Xbw+ogUdeSJ X-Received: by 2002:a63:ff60:: with SMTP id s32mr38740651pgk.266.1550769381553; Thu, 21 Feb 2019 09:16:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550769381; cv=none; d=google.com; s=arc-20160816; b=hs/gvRAUeBvy7L8IhtxTVDjcb9OF8y9oPe7rnIZxQP9V48FjBSwOOdKHlqsXrXiBcD dRIX+8i5Kd5YA2fnV8dRUscdbKHnLwdfUmR/w8doFPjKY9bg3cV7v4uCkZQeKlAyJ70m 2s7M2WmOYhtFNqAD/K4r2Vemgcy85M89DwVs5cKq1IHICu8/yLD1smRqW1dbUp7Y440a s/qzJ0H4x66m6U1h0vQN+vP64i2ehUBGLszxU8xR+FMdgoIzVgClHPejNkuPPJd3b40Y Ix2lQfwK72xgV34AV1xfrVJ8L8/vYR5mghyJYEmI+rfy3tlCy9ay9pIvgPqW0BHca/Gl kBrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=CUNnN+/ji8nzrv3GmXF8Tl3AdC7Sp5oHC9qFThiiFP4=; b=JXbCUEKmB6XLozO8aPQUG51umC+hMA5Hgys6FfmBX9sUxiCg8Od+Q8ATR+izd9Ef9F 5Y89/0zvoowrjkVZ89ctmsjcjvR85wKFWgU2EhyB5l9cGS8Ewuzs7L1y2rx0voQDoHsR oSgxBzqBMDkpTY7mprGmF2kd62CM0EZ3nTrAl7iSHguKc2dc16/rtsT8QZjsPpg2YXK1 fAJ+9drTlT6DyTbO7rbYuToju404DNxw0BnNJT2QZ26iKG4zEbqTdMv1amxz7E4ED54c 4f1o+2soXJl6ozzga61eBWXXnZXR6lDbWZGrJYfJGc1zynFiAOiLsrrugSJf+lffjxkT tL3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=D6IFQ37m; 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 m10si19917461pls.65.2019.02.21.09.16.05; Thu, 21 Feb 2019 09:16:21 -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=D6IFQ37m; 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 S1728514AbfBURNv (ORCPT + 99 others); Thu, 21 Feb 2019 12:13:51 -0500 Received: from mail-vk1-f195.google.com ([209.85.221.195]:42969 "EHLO mail-vk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726232AbfBURNv (ORCPT ); Thu, 21 Feb 2019 12:13:51 -0500 Received: by mail-vk1-f195.google.com with SMTP id j195so2855063vkj.9 for ; Thu, 21 Feb 2019 09:13:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CUNnN+/ji8nzrv3GmXF8Tl3AdC7Sp5oHC9qFThiiFP4=; b=D6IFQ37mn8qUvk22wINGvPB/1t9wJY3C/s/rv3/2f1n8C8bhYTvbna2qn7jAJTwe07 riJoB4Ynj0z/ek5PIoHch83dUZKNNh8tL602OJHawgvzE4KbhZqGn43A2OCdVYtv+T6t ymnwVDQm13dkm0egJBHB1Aeyu9vpby8D451lc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CUNnN+/ji8nzrv3GmXF8Tl3AdC7Sp5oHC9qFThiiFP4=; b=jwNLy9WvLLD2DXcu3sJFsnhprF2UIvO/9fFsMRKKXXWhbfkGclRYZsm7/Hs/sN7nKf Y1/uUyg1zXC4absBmKcxo4sceb9jDjrhIPUcKQwa9Yxz9r2jposn9eOoXdWHQZvKt64L UVHvANlEBboQDbsZ8iO2i2gxeJSA2ECVp/OE3A2QU8YSkeJf4tWfWSfl5WLrLBY727Rs ifLeIZUAzqD+xlvGC0djZlSXzPHMn5N0+UFBYppATHJvB0Zu0Vapn9F2p06RZ7jz2yph H0iyk+Nj3xWOh6F+wLSmgHT6vp6flEXvSsi7cJnPGzpMGa20JJQydehmCnKFYI7AQ9Q3 SOzA== X-Gm-Message-State: AHQUAuZJwmgiifhil2UyQE0uEBA2ltAOXxwa0EIhgXex7ivrPZ8v1VNG efDXHD78bHyljyGzatGVAa0XadkM6cE= X-Received: by 2002:ac5:c30b:: with SMTP id j11mr22330718vkk.46.1550769229287; Thu, 21 Feb 2019 09:13:49 -0800 (PST) Received: from mail-ua1-f41.google.com (mail-ua1-f41.google.com. [209.85.222.41]) by smtp.gmail.com with ESMTPSA id q199sm5290285vke.23.2019.02.21.09.13.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Feb 2019 09:13:47 -0800 (PST) Received: by mail-ua1-f41.google.com with SMTP id z24so9931189ual.8 for ; Thu, 21 Feb 2019 09:13:47 -0800 (PST) X-Received: by 2002:a67:ec81:: with SMTP id h1mr21265168vsp.188.1550769227265; Thu, 21 Feb 2019 09:13:47 -0800 (PST) MIME-Version: 1.0 References: <20190218181819.20524-1-helen.koike@collabora.com> <20190221155032.GA3155@redhat.com> In-Reply-To: <20190221155032.GA3155@redhat.com> From: Kees Cook Date: Thu, 21 Feb 2019 09:13:34 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v11] dm: add support to directly boot to a mapped device To: Mike Snitzer Cc: Helen Koike , device-mapper development , Will Drewry , "open list:DOCUMENTATION" , richard -rw- weinberger , LKML , linux-lvm@redhat.com, Enric Balletbo i Serra , kernel@collabora.com, Alasdair G Kergon , David Zeuthen Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 21, 2019 at 7:50 AM Mike Snitzer wrote: > > On Mon, Feb 18 2019 at 1:18pm -0500, > Helen Koike wrote: > > > Add a dm-mod.create= kernel module parameter. > > It allows device-mapper targets to be configured at boot time for use early > > in the boot process (as the root device or otherwise). > > > > Signed-off-by: Will Drewry > > Signed-off-by: Kees Cook > > [rework to use dm_ioctl calls] > > Signed-off-by: Enric Balletbo i Serra > > [refactored for upstream] > > Signed-off-by: Helen Koike > > Can I get confirmation from Will and Kees that this v11 is safe to carry > their Signed-off-by? Are you guys "happy" with this patch? I think those should be "Co-developed-by:" to more correctly capture the intent. At this point I think Helen is the primary author. Or at least, Will and I aren't anymore. :) At first pass, yes, this patch does what's needed for Chrome OS and Android, but I'll take a closer look shortly (and I've added David who has looked at this most recently). Thanks! -- Kees Cook