Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp995963ybb; Wed, 1 Apr 2020 13:35:32 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvE/14UgbZG1s9AbVAn+IlgWhEAYuPcWhb+CinqxUSXriRAZGR1JK0Vo7Favt+h3M2uHfFr X-Received: by 2002:a9d:6354:: with SMTP id y20mr18412250otk.171.1585773332196; Wed, 01 Apr 2020 13:35:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585773332; cv=none; d=google.com; s=arc-20160816; b=V8mqFrGna0VP0/k+X6l0+LNZWRQKcuVVgrRUXAWxf9qSC3/ngNcuAFQ0aCe71XOEtA OrFegiWn2m10LfB7BQOjxXivjwurDoOJMzozJk7pOGQHFguPXwCjh+CSv0hK/yOpi175 YCn4/EtvHBwFhEmJIEGNRmvdskbDghbgRQ/cvh63nJh0XSjMogGDwwqlqBv8sXfnAin1 CfGoXovKHojbB8Ef6lnM+r8ahSe/LIg4Q/9SvinFCjjEAJLlnN8puONPn6WIGOUXtsJC JRKxKodCdHRK5iSxREWHCTikrDUlgL2LyD8oX9L3JkXjMixtcKausuKAb5lOhqt5/Mpc M6qQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=1VRhojRjzMJKds57jApup+jV8mlppHPsTm4DYDrONHE=; b=e8ApTXRWLZoL0SAn6kObNj2n4I9jJHPDpXZ48J51Qn4DogEyfWXLcH9h9C+GPFPUYA 3Kg4P57GwWTd1cZzzZlVErH/Tubt2cObGDE9c7uBLdnjxM+3/05wAOq7Lbprr5GJsCWI SLhpMRhqMdT2x5aqkKRxYlBnTzpJudoqxRAXyFK74uTBTKGI1J38DRdmD2LP6ANm5bYZ iS8+5oibhgzhVGsWicAHQgYI29JcAMMAShYAf8hVd4TCTJmCsryvp5Uxb6JBPHKDW5Q2 VqtTuBafmvHw78cOdqQsagYkSE8CDG/HQ9zn/z/kKwim+1dL6+e7wL+bjYu+fCUE7je7 AnLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="1SDYC/nW"; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id t19si1330914oif.250.2020.04.01.13.35.11; Wed, 01 Apr 2020 13:35:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-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=@kernel.org header.s=default header.b="1SDYC/nW"; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 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 S1733024AbgDAUe5 (ORCPT + 99 others); Wed, 1 Apr 2020 16:34:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:54400 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732821AbgDAUe4 (ORCPT ); Wed, 1 Apr 2020 16:34:56 -0400 Received: from ebiggers-linuxstation.mtv.corp.google.com (unknown [104.132.1.76]) (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 ADCFF2082F; Wed, 1 Apr 2020 20:34:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585773295; bh=Lkegc6/p8gRLQQ0hP6UVszjf/sI5WbF2HCMlwMjtYDA=; h=From:To:Cc:Subject:Date:From; b=1SDYC/nWbgmXoEIi916NjDiByqsEStNGZ/nU5PKwRbPJEhWdjVlKHM/2vPlFJeYVb 6wNaSAbcoKhw4E5du6kun0K/ROUKttnl1ppjKKmR+04s3XTu4U+EFT/CrZV6ayDSSj ZmSeKsM431UmGqU7yw0YCv+qQNA5yOahyWtP3pWU= From: Eric Biggers To: linux-ext4@vger.kernel.org Cc: linux-fscrypt@vger.kernel.org Subject: [PATCH 0/4] e2fsprogs: fix and document the stable_inodes feature Date: Wed, 1 Apr 2020 13:32:35 -0700 Message-Id: <20200401203239.163679-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.26.0.rc2.310.g2932bb562d-goog 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 Fix tune2fs to not allow cases where IV_INO_LBLK_64-encrypted files (which can exist if the stable_inodes feature is set) could be broken: - Changing the filesystem's UUID - Clearing the stable_inodes feature Also document the stable_inodes feature in the appropriate places. Eric Biggers (4): tune2fs: prevent changing UUID of fs with stable_inodes feature tune2fs: prevent stable_inodes feature from being cleared ext4.5: document the stable_inodes feature tune2fs.8: document the stable_inodes feature misc/ext4.5.in | 16 ++++++++++++++++ misc/tune2fs.8.in | 7 +++++++ misc/tune2fs.c | 10 ++++++++-- 3 files changed, 31 insertions(+), 2 deletions(-) -- 2.26.0.rc2.310.g2932bb562d-goog