From patchwork Thu May 27 12:37:17 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Whitcroft X-Patchwork-Id: 53755 X-Patchwork-Delegate: leann.ogasawara@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 F4144B7D1C for ; Thu, 27 May 2010 22:37:26 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1OHcKw-0003ed-1d; Thu, 27 May 2010 13:37:22 +0100 Received: from adelie.canonical.com ([91.189.90.139]) by chlorine.canonical.com with esmtp (Exim 4.69) (envelope-from ) id 1OHcKt-0003eD-UB for kernel-team@lists.ubuntu.com; Thu, 27 May 2010 13:37:19 +0100 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1OHcKt-0001rS-Sn for ; Thu, 27 May 2010 13:37:19 +0100 Received: from 79-70-103-73.dynamic.dsl.as9105.com ([79.70.103.73] helo=localhost.localdomain) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OHcKt-00029m-O2 for kernel-team@lists.ubuntu.com; Thu, 27 May 2010 13:37:19 +0100 From: Andy Whitcroft To: kernel-team@lists.ubuntu.com Subject: [PATCH 1/1] UBUNTU: enforce -- ensure SYSFS compatibility is disabled Date: Thu, 27 May 2010 13:37:17 +0100 Message-Id: <1274963837-19028-2-git-send-email-apw@canonical.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1274963837-19028-1-git-send-email-apw@canonical.com> References: <1274963837-19028-1-git-send-email-apw@canonical.com> 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 Ensure we have all of the SYSFS compatibility modes disabled. BluePrint: http://blueprints.launchpad.net/ubuntu/+spec/kernel-maverick-upstart Signed-off-by: Andy Whitcroft Acked-by: Stefan Bader --- debian/config/enforce | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/debian/config/enforce b/debian/config/enforce index 80be985..6481323 100644 --- a/debian/config/enforce +++ b/debian/config/enforce @@ -38,3 +38,7 @@ value CONFIG_BLK_DEV_RAM_SIZE 65536 # LVM requires dm_mod built in to activate correctly (LP: #560717) value CONFIG_BLK_DEV_DM y + +# sysfs: ensure all DEPRECATED items are off +value CONFIG_SYSFS_DEPRECATED_V2 n +!exists CONFIG_SYSFS_DEPRECATED | value CONFIG_SYSFS_DEPRECATED n