From patchwork Thu Jan 21 11:05:32 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Surbhi Palande X-Patchwork-Id: 43426 X-Patchwork-Delegate: apw@canonical.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id A8EA3B7D09 for ; Thu, 21 Jan 2010 22:05:47 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1NXur6-0004K3-1u; Thu, 21 Jan 2010 11:05:40 +0000 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1NXur1-0004Fe-TS for kernel-team@lists.canonical.com; Thu, 21 Jan 2010 11:05:35 +0000 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1NXur0-0000mE-FG for ; Thu, 21 Jan 2010 11:05:34 +0000 Received: from a88-112-254-38.elisa-laajakaista.fi ([88.112.254.38] helo=canonical.com) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1NXur0-0005px-6A for kernel-team@lists.canonical.com; Thu, 21 Jan 2010 11:05:34 +0000 From: Surbhi Palande To: kernel-team@lists.canonical.com Subject: [PATCH] UBUNTU: [Lucid] [Config] ext3 defaults to ordered mode Date: Thu, 21 Jan 2010 13:05:32 +0200 Message-Id: <1264071932-6940-1-git-send-email-surbhi.palande@canonical.com> X-Mailer: git-send-email 1.6.3.3 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com This patch fixes bug 510067 on launchpad. This patch enables the compile time option CONFIG_EXT3_DEFAULTS_TO_ORDERED to ensure the data=ordered mode for an ext3 fs mount. This prevents a security threat of older data being inadvertently exposed, that arises from mounting the ext3 fs with the data=writeback mode. Do consider merging this for Lucid. From bf1cb2a47ea171bed74024692af09d832de84717 Mon Sep 17 00:00:00 2001 From: Surbhi Palande Date: Thu, 21 Jan 2010 12:44:41 +0200 Subject: [PATCH] UBUNTU: [Lucid] [Config] ext3 defaults to ordered mode BugLink: http://bugs.launchpad.net/bugs/510067 Ignore: yes To prevent a security threat of older data being inadvertently exposed, the default mount option of ext3 should be ordered instead of writeback. This patch enables the compile time option CONFIG_EXT3_DEFAULTS_TO_ORDERED to ensure that an ext3 fs mounts with the data=ordered mode. Signed-off-by: Surbhi Palande --- debian.master/config/config.common.ports | 2 +- debian.master/config/config.common.ubuntu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian.master/config/config.common.ports b/debian.master/config/config.common.ports index b2a78e1..cba6343 100644 --- a/debian.master/config/config.common.ports +++ b/debian.master/config/config.common.ports @@ -859,7 +859,7 @@ CONFIG_EXT2_FS_POSIX_ACL=y CONFIG_EXT2_FS_SECURITY=y CONFIG_EXT2_FS_XATTR=y # CONFIG_EXT2_FS_XIP is not set -# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set +CONFIG_EXT3_DEFAULTS_TO_ORDERED=y CONFIG_EXT3_FS=y CONFIG_EXT3_FS_POSIX_ACL=y CONFIG_EXT3_FS_SECURITY=y diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu index ea1eac7..b800972 100644 --- a/debian.master/config/config.common.ubuntu +++ b/debian.master/config/config.common.ubuntu @@ -1042,7 +1042,7 @@ CONFIG_EXT2_FS_POSIX_ACL=y CONFIG_EXT2_FS_SECURITY=y CONFIG_EXT2_FS_XATTR=y # CONFIG_EXT2_FS_XIP is not set -# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set +CONFIG_EXT3_DEFAULTS_TO_ORDERED=y CONFIG_EXT3_FS=y CONFIG_EXT3_FS_POSIX_ACL=y CONFIG_EXT3_FS_SECURITY=y