Skip to contentSkip to conversation

hfsplus: introduce implementation of POSIX ACLs support

PATCH New Vyacheslav Dubeyko 1 participant 1 message Jul 26, 2013 VFS

lore
Share & tools
lore
#0 lore raw

cover hfsplus: introduce implementation of POSIX ACLs support

Hi,

This patch set implements POSIX ACLs support in hfsplus driver.

Mac OS X beginning with version 10.4 ("Tiger") support NFSv4 ACLs, which are part of the NFSv4 standard. HFS+ stores ACLs in the form of specially named extended attributes (com.apple.system.Security).

But this patch set doesn't use "com.apple.system.Security" extended attributes. It implements support of POSIX ACLs in the form of extended attributes with names "system.posix_acl_access" and "system.posix_acl_default". These xattrs are treated only under Linux. POSIX ACLs doesn't mean something under Mac OS X. Thereby, this patch set provides opportunity to use POSIX ACLs under Linux on HFS+ filesystem.

With the best regards,
Vyacheslav Dubeyko.
---
Vyacheslav Dubeyko (1):
hfsplus: introduce implementation of POSIX ACLs support

 fs/hfsplus/Kconfig          |   18 +++
 fs/hfsplus/Makefile         |    2 +
 fs/hfsplus/acl.h            |   30 +++++
 fs/hfsplus/dir.c            |    4 +
 fs/hfsplus/hfsplus_fs.h     |    1 +
 fs/hfsplus/inode.c          |   11 ++
 fs/hfsplus/posix_acl.c      |  274 +++++++++++++++++++++++++++++++++++++++++++
 fs/hfsplus/xattr.c          |   62 +++++++++-
 fs/hfsplus/xattr.h          |   33 ++----
 fs/hfsplus/xattr_security.c |   13 ++
 10 files changed, 422 insertions(+), 26 deletions(-)
Signature · 1 line
1.7.9.5