From patchwork Thu May 4 07:50:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Milan Broz X-Patchwork-Id: 9710945 X-Patchwork-Delegate: snitzer@redhat.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7C06B60387 for ; Thu, 4 May 2017 07:51:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6302428627 for ; Thu, 4 May 2017 07:51:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 54C7F28682; Thu, 4 May 2017 07:51:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EEC4A28627 for ; Thu, 4 May 2017 07:51:28 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0E0E83A279; Thu, 4 May 2017 07:51:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 0E0E83A279 Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=dm-devel-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 0E0E83A279 Authentication-Results: mx1.redhat.com; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SUt3lAn3" Received: from colo-mx.corp.redhat.com (unknown [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8572D7EBDF; Thu, 4 May 2017 07:51:26 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 2E7A04ED26; Thu, 4 May 2017 07:51:25 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v447pNDP015856 for ; Thu, 4 May 2017 03:51:23 -0400 Received: by smtp.corp.redhat.com (Postfix) id 589A518EFE; Thu, 4 May 2017 07:51:23 +0000 (UTC) Delivered-To: dm-devel@redhat.com Received: from mx1.redhat.com (ext-mx04.extmail.prod.ext.phx2.redhat.com [10.5.110.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 526065C471 for ; Thu, 4 May 2017 07:51:21 +0000 (UTC) Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A153180473 for ; Thu, 4 May 2017 07:51:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A153180473 Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=gmazyland@gmail.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com A153180473 Received: by mail-wm0-f66.google.com with SMTP id u65so1483587wmu.3 for ; Thu, 04 May 2017 00:51:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JUXNcNH2/CKaiJMG82fqSJ0+L9ONvVO+qVIZPDK2A38=; b=SUt3lAn3giv43CLmo1CjxMqmlLo7diT5iw71X+PGfgRuRHEBPcbCwBUKybdvo43FfX 7mHzniGMM8mQN+FOBeA+MMDq1cjvCeiD/EoJYfbSGUETCNLSKzZfVAOHo8NlNDspkyLO l808elUMsCanW+osxFqcRnh4HDuHdqs9Fk4Lu2oUtjLRxOq8Lj2iBpJAXeXeYGpbzGkS 7qKV7HsGKC6SmnyN7Ryyvwk3675/1FkVRH9XlxAZQba0PPDLm3oPd7vIXUJRMwrwYam/ EamCUUYzUErH/RM45BHTmzPqOIrVr0ssAW3ou1GtQZB52HITYjU66rzmn9Uw5ABbthCo +n6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=JUXNcNH2/CKaiJMG82fqSJ0+L9ONvVO+qVIZPDK2A38=; b=L53CHoDyVED5fJHqgk3VChXnm8AYu0vTUHcdPrFIuzTP720O4dFT5dKls4s+1YcCzo KbwUwi9Pmev0ovE4VSMJuA+QY0x2KdB2FDfehyJqjpJPHmoeB7/92EnsKk2jC42eRD3Q neHlHeG93feUzWBTd+TJ1fL/4omFaaBECz8qs/a/6bLNvweXmRCRQiIyInd/w00jNj2b QXgB2GHxHLQqD1dh8Rn5VQZu811ixCYBaYkVmT7ywenOZ8pKtdif2otj72+lzLCGolYK CFJvS8Yyt8HZTnJH6rxUG78yOo9k7nY9rCMhpu+6yq3UizKqxEI0/4ILFkPjcNxLhwO8 b2zQ== X-Gm-Message-State: AN3rC/4wfMUF4gELnE/RALyVzfzhW2AdZvE7TJGhGETnREThJyv2I7g9 oBHSgbdWxaTHCQ== X-Received: by 10.28.35.214 with SMTP id j205mr746889wmj.76.1493884279286; Thu, 04 May 2017 00:51:19 -0700 (PDT) Received: from merlot.mazyland.net (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.googlemail.com with ESMTPSA id g25sm1700447wra.1.2017.05.04.00.51.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 May 2017 00:51:18 -0700 (PDT) From: Milan Broz To: dm-devel@redhat.com Date: Thu, 4 May 2017 09:50:44 +0200 Message-Id: <20170504075044.5766-1-gmazyland@gmail.com> In-Reply-To: References: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Thu, 04 May 2017 07:51:20 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Thu, 04 May 2017 07:51:20 +0000 (UTC) for IP:'74.125.82.66' DOMAIN:'mail-wm0-f66.google.com' HELO:'mail-wm0-f66.google.com' FROM:'gmazyland@gmail.com' RCPT:'' X-RedHat-Spam-Score: 1.17 * (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, SPF_PASS) 74.125.82.66 mail-wm0-f66.google.com 74.125.82.66 mail-wm0-f66.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.28 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: dm-devel@redhat.com Cc: linux-kernel@vger.kernel.org, Milan Broz Subject: [dm-devel] [PATCH] dm-integrity: Add proper description of module to KConfig. X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 04 May 2017 07:51:28 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP Add more descriptive text to explain what it the dm-integrity when it should be enabled. Signed-off-by: Milan Broz --- drivers/md/Kconfig | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig index 7468a22f9d10..3e96fccbbdb2 100644 --- a/drivers/md/Kconfig +++ b/drivers/md/Kconfig @@ -509,6 +509,20 @@ config DM_INTEGRITY select CRYPTO select ASYNC_XOR ---help--- - This is the integrity target. + This device-mapper target emulates a block device that has additional + per-sector tags that can be used for storing integrity information. + + The dm-integrity target is used with the dm-crypt target to provide + authenticated disk encryption or it can also be used as a standalone + target. In standalone mode it calculates and verifies the data integrity + internally. + + You should enable this option if you plan to use dm-crypt target + in authenticated disk encryption mode. + + To compile this code as a module, choose M here: the module will + be called dm-integrity. + + If unsure, say N. endif # MD