Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756118Ab0KCUpY (ORCPT ); Wed, 3 Nov 2010 16:45:24 -0400 Received: from e31.co.us.ibm.com ([32.97.110.149]:38746 "EHLO e31.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753563Ab0KCUpW (ORCPT ); Wed, 3 Nov 2010 16:45:22 -0400 Subject: Re: [PATCH] security: move LSM xattrnames to xattr.h From: Mimi Zohar To: Eric Paris Cc: Steve Grubb , Ozan =?UTF-8?Q?=C3=87a=C4=9Flayan?= , James Morris , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, linux-fsdevel@vger.kernel.org, Casey Schaufler , David Safford , Dave Hansen , Mimi Zohar In-Reply-To: References: <1278011263-7951-1-git-send-email-zohar@linux.vnet.ibm.com> <201010121414.14486.ozan@pardus.org.tr> <1286888769.2670.5.camel@localhost.localdomain> <201010120919.11819.sgrubb@redhat.com> <1286890834.2670.21.camel@localhost.localdomain> Content-Type: text/plain; charset="UTF-8" Date: Wed, 03 Nov 2010 16:45:12 -0400 Message-ID: <1288817112.2939.89.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 (2.30.3-1.fc13) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1513 Lines: 38 On Wed, 2010-11-03 at 16:26 -0400, Eric Paris wrote: > On Tue, Oct 12, 2010 at 9:40 AM, Mimi Zohar wrote: > > On Tue, 2010-10-12 at 09:19 -0400, Steve Grubb wrote: > > > Before making any changes to the kernel xattr.h, I want to understand > > the reason for two xattr.h files, one in /usr/include/linux/ and the > > other in /usr/include/xattr/. /usr/include/linux/xattr.h contains those > > elements not defined as __kernel__, while /usr/include/xattr/xattr.h > > contains that and other definitions. Will changing the kernel xattr.h > > version change both? > > I don't know what /usr/include/xattr/ is but /usr/include/linux/ is > where the kernel-headers are supposed to end up. I'm guessing > /usr/include/xattr/ is the glibc function definitions? (my glibc > function definitions for xattrs are in /usr/include/sys/xattr.h) > > I sent a patch to export them all. I didn't cc stable since it > clearly change more than it needs to, but we really should send > something to stable.... > > -Eric Thanks Eric. Don't know what happened, but /usr/include/xattr/xattr.h is gone. /usr/include/sys/xattr.h contains the names of the user space xattr tools, not the kernel version. I'll create the patch for stable. thanks, Mimi -- 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/