From patchwork Wed Jan 20 18:21:11 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Surbhi Palande X-Patchwork-Id: 43332 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 643F2B7C09 for ; Thu, 21 Jan 2010 05:21:27 +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 1NXfB8-0004sX-Hx; Wed, 20 Jan 2010 18:21:18 +0000 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1NXfB5-0004rd-S4 for kernel-team@lists.canonical.com; Wed, 20 Jan 2010 18:21:15 +0000 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1NXfB5-0000XU-Qm for ; Wed, 20 Jan 2010 18:21:15 +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 1NXfB5-00074k-IK for kernel-team@lists.canonical.com; Wed, 20 Jan 2010 18:21:15 +0000 From: Surbhi Palande To: kernel-team@lists.canonical.com Subject: [PATCH] UBUNTU: [SAUCE] ext3 defaults to ordered mode Date: Wed, 20 Jan 2010 20:21:11 +0200 Message-Id: <1264011671-21401-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. It changes the default compile time option for ext3 from "writeback" to "ordered", so as to mount the ext3 fs with the "data=ordered" option by default. This change prevents a potential security threat of older data being exposed accidentally under "data=writeback" mode. Do consider merging this for Karmic. The following changes since commit de24f70e1584c4a9db5518fb3b8ddfa02715655e: Torgny Johansson (1): cdc_ether: additional Ericsson MBM PID's to the whitelist are available in the git repository at: git://kernel.ubuntu.com/surbhi/ubuntu-karmic.git lp510067 Surbhi Palande (1): UBUNTU: [SAUCE] ext3 defaults to ordered mode debian.master/config/config.common.ports | 2 +- debian.master/config/config.common.ubuntu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) From 8d22adc6cabf4963da66c99e679588b174f97459 Mon Sep 17 00:00:00 2001 From: Surbhi Palande Date: Wed, 20 Jan 2010 15:28:31 +0200 Subject: [PATCH] UBUNTU: [SAUCE] ext3 defaults to ordered mode BugLink: http://bugs.launchpad.net/bugs/510067 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 changes the default compile time option for ext3 to reflect the same in the default mount time option. 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 39ee289..4e22aeb 100644 --- a/debian.master/config/config.common.ports +++ b/debian.master/config/config.common.ports @@ -817,7 +817,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 462c1c1..2477234 100644 --- a/debian.master/config/config.common.ubuntu +++ b/debian.master/config/config.common.ubuntu @@ -943,7 +943,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