Issues with UBIFS xattr support

Artem Bityutskiy dedekind at infradead.org
Thu Feb 5 04:30:26 EST 2009


On Thu, 2009-02-05 at 15:49 +0900, Tim wrote:
> I found that UBIFS does not fully support xattr manipulation.

This is right. We have very limited xattr support, which has never been
tested well, because we do not use it.

http://www.linux-mtd.infradead.org/doc/ubifs.html#L_xattr

> I use security context files labeling (in SELinux) that heavily relies
> on proper manipulation of xattr by the filesystem.
> And issues are:
> - ubifs does not store xattr in inode for symbolic link files;

Hmm, ok, this should not be too difficult to fix.

> - if new file is created on ubifs, xattr should be automatically
> updated with security context label, but it does not.

I'm very bad in security. Do you mean you need ACL support?
This is not supported.

> Maybe there is a patch that fixes those issues already?

Unfortunately not, you should find a sane SW engineer with a
clue and he may upgrade UBIFS, it is doable. We would of course
assist.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list