Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752227AbbHTGnP (ORCPT ); Thu, 20 Aug 2015 02:43:15 -0400 Received: from mga09.intel.com ([134.134.136.24]:17122 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751090AbbHTGnN (ORCPT ); Thu, 20 Aug 2015 02:43:13 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,713,1432623600"; d="scan'208";a="628864054" Message-ID: <1440052973.31419.191.camel@linux.intel.com> Subject: Re: [PATCH 1/2] ubifs: Remove dead xattr code From: Artem Bityutskiy Reply-To: artem.bityutskiy@linux.intel.com To: Dongsheng Yang , Richard Weinberger , linux-mtd@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Subodh Nijsure , Marc Kleine-Budde , Brad Mouring , Gratian Crisan Date: Thu, 20 Aug 2015 09:42:53 +0300 In-Reply-To: <55D54006.9030700@cn.fujitsu.com> References: <1440016553-26481-1-git-send-email-richard@nod.at> <55D54006.9030700@cn.fujitsu.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.4 (3.16.4-2.fc22) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1191 Lines: 32 On Thu, 2015-08-20 at 10:48 +0800, Dongsheng Yang wrote: > On 08/20/2015 04:35 AM, Richard Weinberger wrote: > > This is a partial revert of commit > > d7f0b70d30ffb9bbe6b8a3e1035cf0b79965ef53 > > ("UBIFS: Add security.* XATTR support for the UBIFS"). > > Hi Richard, > What about a full reverting of this commit. In ubifs, we > *can* support any namespace of xattr including user, trusted, > security > or other anyone prefixed by any words. But we have a > check_namespace() > in xattr.c to limit what we want to support. That said, if we want to > "Add security.* XATTR support for the UBIFS", what we need to do is > just extending the check_namespace() to allow security namespace > pass. > And yes, check_namespace() have been supporting security namespace. > > So, IMHO, we do not depend on the generic mechanism at all, and we > can > fully revert this commit. We just weren't careful enough. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/