Re: [PATCH] Revised extended attributes interface

Stephen C. Tweedie
2001-12-11T11:33:40Z

Hi,

On Tue, Dec 11, 2001 at 12:22:58PM +1100, Timothy Shimmin wrote:

> Could this not be catered for independent of the proposed EA interface
> for getting/setting/removing EAs ?

Definitely. The whole problem I pointed out with the EA interface was
that it didn't talk about ACLs at all. So, sure, it gives us an API
for arbitrary EAs, but it does absolutely nothing to help us unify ACL
APIs. In effect it is far _too_ extensible: we need to have some
agreement on how it can be used if the different ACL applications are
to have any hope of working together.

The bright point is that this can be done reasonably well in user
space, if we're careful (but we still need to worry about exactly how
the kernel will deal with validating ACE chains --- we need to specify
whether EAs in the system namespace are expected to be stored verbatim
or whether the filesystem is permitted to interpret their semantics
intelligently.)

Cheers,
Stephen