xfs
[Top] [All Lists]

Re: Extended Attributes Question

To: Matthew Whitehead <mrw@xxxxxxxxxxxxxxxxxx>
Subject: Re: Extended Attributes Question
From: "evilninja@xxxxxxx" <evilninja@xxxxxxx>
Date: Thu, 13 Oct 2005 20:39:26 +0200
Cc: linux-xfs@xxxxxxxxxxx, "'Kent Kamischke'" <kent@xxxxxxx>, Pamela Kennedy <pkennedy@xxxxxxx>
In-reply-to: <434EA1D1.7010805@xxxxxxxxxxxxxxxxxx>
References: <434EA1D1.7010805@xxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
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....

Christian.
--
BOFH excuse #384:

it's an ID-10-T error


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