Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp99322ybk; Tue, 12 May 2020 16:36:46 -0700 (PDT) X-Google-Smtp-Source: APiQypIsHny3bLMKRhBkrW+oSOeOBKH0/HOhGQ2HfEyrlobTDeJ5IZYLrQSUYlaSPdUHHU/+ievw X-Received: by 2002:aa7:c419:: with SMTP id j25mr15189828edq.209.1589326606493; Tue, 12 May 2020 16:36:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589326606; cv=none; d=google.com; s=arc-20160816; b=myERXje5XKywtsXR7CC48w3SiRQ5b4Mxwwtemgqhb7V60nEr/Ut/iKW/PxgF9XyR7R H13Fx1tgvCXYP1jH0qYJ1QrYvv+6wHUsQCzURR1Hkj+UXB5IFzSxAHtVrUC7z8hLXq96 +oEEOhijDS3vWGSTl8jpe0JOOyqppnnWtn5lBRkV9Cx2TsDW5Y11vXmsDrig0AlKX/8J +okhMsN7dh8KH1ebIRbWD2upxT0RTvrPMQfIFlvlI+Ym6J1XGO/nlIB0joVpaqN5r8mr xkl3/B7RqEqzezqjwOJ+Mio1Ndb7oxekuzfEINEnr5aEgJoFSXJR5o8Mxqc8+errQaJY uKQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=xPAmbSoxIOy5C36TqONnnkf67F2CgVAVwY7LbiPaGGg=; b=IZvf25qgJuSNZQ06j2lx9fjsH++QcOU6MP7+KKEFBjlul1ARGoC9i0uhH71Bgc+VEL st67NajFHCKb9OKQrlW5TtkU+bX+ZtOp0jAZVZ+qdQ5SwrGuPEzfTrnEpRkUEJfciRHr Ch/ACINy/XmvxlAD9CMy+uzDiTtMyJruch/+hF+8fPZoSzYl+U8m5I/gY5tKVMM0ipq7 hIiCJ3YpQMvjOC3T0+BSsAXATWiydFD1rddYm+V/pKbngmUE6kC50Kl7E/E2dwApWr0F CSol0wdZKrnciHMnwtyiBNgRvPsLWzBjrfjmXgtb9pC37Wi4oqWXfW8ueNv2f6Aj9Gr1 OSiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JZUdY+nH; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b12si8758978ejb.220.2020.05.12.16.36.23; Tue, 12 May 2020 16:36:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JZUdY+nH; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 S1731656AbgELXgL (ORCPT + 99 others); Tue, 12 May 2020 19:36:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:33990 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725938AbgELXgL (ORCPT ); Tue, 12 May 2020 19:36:11 -0400 Received: from sol.hsd1.ca.comcast.net (c-107-3-166-239.hsd1.ca.comcast.net [107.3.166.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8CF1723129; Tue, 12 May 2020 23:36:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589326570; bh=BMIktPcgJbdPblvIseR4lM4hwfbtMoRDGR8MWk2qSuA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JZUdY+nHskjaq8Rsyn8OOMyKPHfjHj9JfV6Acwi+Pma0bvRssHQzAdfIvl+EIT/Dy +psLT83lyG4cNCQ7eI5/F4O3Yasm/+j3M7hxHcDOmv+55sx1xtHVwfWgMmbYPEx7/v zAV3sSEE8wyJr+mJq0JhLATesRFun5o3llaIdmxc= From: Eric Biggers To: linux-fscrypt@vger.kernel.org Cc: linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, Jaegeuk Kim , "Theodore Y . Ts'o" , Daniel Rosenberg Subject: [PATCH 4/4] fscrypt: make test_dummy_encryption use v2 by default Date: Tue, 12 May 2020 16:32:51 -0700 Message-Id: <20200512233251.118314-5-ebiggers@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200512233251.118314-1-ebiggers@kernel.org> References: <20200512233251.118314-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org From: Eric Biggers Since v1 encryption policies are deprecated, make test_dummy_encryption test v2 policies by default. Note that this causes ext4/023 and ext4/028 to start failing due to known bugs in those tests (see previous commit). Signed-off-by: Eric Biggers --- fs/crypto/policy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/crypto/policy.c b/fs/crypto/policy.c index ca0ee337c9627f..cb7fd8f7f0eca1 100644 --- a/fs/crypto/policy.c +++ b/fs/crypto/policy.c @@ -632,7 +632,7 @@ int fscrypt_set_test_dummy_encryption(struct super_block *sb, const substring_t *arg, struct fscrypt_dummy_context *dummy_ctx) { - const char *argstr = "v1"; + const char *argstr = "v2"; const char *argstr_to_free = NULL; struct fscrypt_key_specifier key_spec = { 0 }; int version; -- 2.26.2