| To: | Stewart Smith <stewart@xxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: Extended Attributes Question |
| From: | Eric Sandeen <sandeen@xxxxxxx> |
| Date: | Fri, 14 Oct 2005 12:47:54 -0500 |
| Cc: | "evilninja@xxxxxxx" <evilninja@xxxxxxx>, Matthew Whitehead <mrw@xxxxxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx, "'Kent Kamischke'" <kent@xxxxxxx>, Pamela Kennedy <pkennedy@xxxxxxx> |
| In-reply-to: | <1129256710.9794.53.camel@xxxxxxxxxxxxxxxxxxxxx> |
| References: | <434EA1D1.7010805@xxxxxxxxxxxxxxxxxx> <434EA9DE.5070204@xxxxxxx> <1129256710.9794.53.camel@xxxxxxxxxxxxxxxxxxxxx> |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla Thunderbird 1.0 (X11/20041206) |
Stewart Smith wrote: 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. Yep, I was going to suggest the same. The kernel really has no business interpreting environment variables, or setting any policies like this... -Eric |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Extended Attributes Question, Stewart Smith |
|---|---|
| Next by Date: | stack size usage, Net Llama! |
| Previous by Thread: | Re: Extended Attributes Question, Stewart Smith |
| Next by Thread: | stack size usage, Net Llama! |
| Indexes: | [Date] [Thread] [Top] [All Lists] |