tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: extattr namespaces


> Manuel Bouyer <> wrote:
>> I'm not sure you can even read them: on freebsd "" will be stored
>> as name "" in (integer) namespace user. When we'll read it we'll
>> find foo in (integer) namespace user but we don't know which namespace
>> it really belongs to (as we store the namespace with the name);
>> and for us this will be name "bar" in namespace foo.
> I guess the trick is that anything outside (system, trusted, security)
> will be stored in (integer) user namespace. Therefore you an read it,
> the problem is that you do not know if you should present
> or to the user.

how about the following mapping?

        xattr name string <-> ufs on-disk

        ""      <-> SYSTEM "foo"
        ""      <-> USER ""


> -- 
> Emmanuel Dreyfus

Home | Main Index | Thread Index | Old Index