tech-kern archive

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

Re: extattr namespaces



Matthew Mondor <mm_lists%pulsar-zone.net@localhost> wrote:

> One thing that I'm wondering: what are the character constraints on
> those class names in the Linux API?

As I understand, the kernel just uses C strings. Encoding is userland's
tools business.
 
> For performance and security, integers make more sense to me than
> strings.  However, I don't think there'd be a problem if internally
> they're integers, yet showed to userland with a strings interface

The problem is that the Linux API allows you tu use arbitrary namespaces
without prior declaration. That does not seems workable with namespaces
stored as integers.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index