xfs
[Top] [All Lists]

Re: Extended Attributes Question

To: "evilninja@xxxxxxx" <evilninja@xxxxxxx>
Subject: Re: Extended Attributes Question
From: Stewart Smith <stewart@xxxxxxxxxxxxxxxx>
Date: Fri, 14 Oct 2005 12:25:10 +1000
Cc: Matthew Whitehead <mrw@xxxxxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx, "'Kent Kamischke'" <kent@xxxxxxx>, Pamela Kennedy <pkennedy@xxxxxxx>
In-reply-to: <434EA9DE.5070204@gmx.net>
References: <434EA1D1.7010805@nccs.gsfc.nasa.gov> <434EA9DE.5070204@gmx.net>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Thu, 2005-10-13 at 20:39 +0200, evilninja@xxxxxxx wrote:
> Matthew Whitehead wrote:
> > 
> > Could you modify the code of sys_creat/sys_open in fs/open.c to check 
> > for the existence of environment variables and set the attribute/value 
> > pairs automatically? Say, an environment variable with the prefix 
> > FILE_XATTR_* ?
> 
> Um, can't this be done entirely in userspace? The kernel should not be 
> influnced by environment variables, IMHO. But perhaps I did not 
> understand what you really meant....

Yes - an LD_PRELOAD could do this.
-- 
Stewart Smith (stewart@xxxxxxxxxxxxxxxx)
http://www.flamingspork.com/

Attachment: signature.asc
Description: This is a digitally signed message part

<Prev in Thread] Current Thread [Next in Thread>