Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2573727imw; Wed, 6 Jul 2022 08:13:03 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tOgQnBYjb2VCQii3gDUmohEy1bYw2CWkkKfnLxGOLKjnqYr3XDfb5dtLKLWztrW8G9uGjp X-Received: by 2002:a05:6402:3202:b0:43a:86f5:a930 with SMTP id g2-20020a056402320200b0043a86f5a930mr6185047eda.389.1657120383203; Wed, 06 Jul 2022 08:13:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657120383; cv=none; d=google.com; s=arc-20160816; b=RxdgYNshZcuiEl63h1+SLeEApZ+LabIsYqFYuD8tBS4ZMBOSiZ6yV3DCyw59FyUWWV pi/Rab65d4TLf/JPiR+bHSGwdB02ZcPRAJ0pj4camuvNI424vNr4WSmGeJbnDWFgLPpf 9LW62fytl1az/+KvcPbnhrD9mptuXEDHR37Rd92SZLyrzVobA6zPk/zqT+xvb2m1fBwE 8noTiYeasGqkD6cr0Ga3h4K58OwJf/jRHKWNLwoCg38seaCkkW2K3Iqtlbm6qCeDbdox vR+x/zdNk2jGFXXf4rwi1Eq+nopKFqX8wjd0CjWbo7V0i7i5kI1WxMvrphKb2N/muZs4 EkhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Tsz2MOLF2Bl4qmuGvjK22N+/EXyHNeIKMYNiVvkEHV8=; b=fUzd4PtXEsVFhge5ixY8iMTaVNJ2jomwJVEr09smItdd01MxtqISNaKv2VqZbCFJm4 Q7ABlxWtbz9dWtFnWsnMGqvvD9McTkl6N44HZS/D2YSd+cNMMRqL4tF/Gwk22M7neR2w rdvzwQ/kt/VvGtkoh4R/xH21cZ2WcUyi7msP6+F94gkeD0NTV3m38zfJF0THjP4D9I8k Nedgz/CNRXzxz069CzSDOncGlFgU1n2fKDIcPCLnGFkaHBuXOvpV/wW1hpDWZL9RFP1k oX7Z6HPz079m3M4TrKAguJy47TldEeCKI6eSeJscp5//NTETQZi5bJ5YhY3yNqv1+K57 +S5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h12-20020a50c38c000000b004358145e6e1si395763edf.209.2022.07.06.08.12.38; Wed, 06 Jul 2022 08:13:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232400AbiGFPJO (ORCPT + 99 others); Wed, 6 Jul 2022 11:09:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231892AbiGFPJM (ORCPT ); Wed, 6 Jul 2022 11:09:12 -0400 Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FFB8E74 for ; Wed, 6 Jul 2022 08:09:11 -0700 (PDT) Received: by mail-qt1-f182.google.com with SMTP id h19so18610981qtp.6 for ; Wed, 06 Jul 2022 08:09:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Tsz2MOLF2Bl4qmuGvjK22N+/EXyHNeIKMYNiVvkEHV8=; b=tBXaKvGZfpb9lZ7mG4pNOl5WZH+peRj/uvZGKMpIbfTM1AzfoUCbmIcECEOPJBuyNF 7jvHUnUO9/FdPXpqGcCIWvZBb+7TX/HXG/wM33+TndG8lYKGjP29w5KPleNh6hrAWJET ZcrXfRVM2F0VNyTd5OoodGXlnOllf/02Xfx8d5Fi/XSkbaNbkkrzUx5GLEJfSCldTs/Y 7M9cdfn/bJUmMlUZdBTJO/xcX5cKRHAaeMPor9qGci/Ils/cdZlvmqk7vEAKjOIjpWJ8 dVV3rONLYXcgqDMiE5lStNPu83YGdHkRCe3FqNsN3QR1K0+2XgvBmeqE+q8+9znHka5h H5iA== X-Gm-Message-State: AJIora/o31ATPiYXi1WtMK91DI6591JMFgbFH0JKbzOvA59iBWRUy7dL 50TwmdRze0kOs4vObsXrrqja X-Received: by 2002:a05:622a:110b:b0:31d:3958:e6e9 with SMTP id e11-20020a05622a110b00b0031d3958e6e9mr22319256qty.660.1657120150141; Wed, 06 Jul 2022 08:09:10 -0700 (PDT) Received: from localhost (pool-68-160-176-52.bstnma.fios.verizon.net. [68.160.176.52]) by smtp.gmail.com with ESMTPSA id u16-20020a05620a431000b006a7284e5741sm30587670qko.54.2022.07.06.08.09.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jul 2022 08:09:09 -0700 (PDT) Date: Wed, 6 Jul 2022 11:09:08 -0400 From: Mike Snitzer To: Matthias Kaehlcke Cc: Alasdair Kergon , Kees Cook , James Morris , "Serge E . Hallyn" , linux-kernel@vger.kernel.org, dm-devel@redhat.com, Douglas Anderson , linux-raid@vger.kernel.org, Song Liu , linux-security-module@vger.kernel.org, Milan Broz Subject: Re: [PATCH v7 3/3] dm: verity-loadpin: Use CONFIG_SECURITY_LOADPIN_VERITY for conditional compilation Message-ID: References: <20220627153526.3750341-1-mka@chromium.org> <20220627083512.v7.3.I5aca2dcc3b06de4bf53696cd21329dce8272b8aa@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220627083512.v7.3.I5aca2dcc3b06de4bf53696cd21329dce8272b8aa@changeid> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 27 2022 at 11:35P -0400, Matthias Kaehlcke wrote: > The verity glue for LoadPin is only needed when CONFIG_SECURITY_LOADPIN_VERITY > is set, use this option for conditional compilation instead of the combo of > CONFIG_DM_VERITY and CONFIG_SECURITY_LOADPIN. > > Signed-off-by: Matthias Kaehlcke > Acked-by: Kees Cook Acked-by: Mike Snitzer