Skip to content

hfsplus: introduce implementation of POSIX ACLs support

Vyacheslav Dubeyko linux-fsdevel 1 version New

Get series with b4
b4 am 1374839330.3671.56.camel@slavad-ubuntu

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hfsplus: add necessary declarations for POSIX ACLs supportfs/hfsplus/Kconfig fs/hfsplus/acl.h fs/hfsplus/hfsplus_fs.h+49 -00 replies
2/3hfsplus: implement POSIX ACLs supportfs/hfsplus/posix_acl.c+274 -00 replies
3/3hfsplus: integrate POSIX ACLs support into driverfs/hfsplus/Makefile fs/hfsplus/dir.c fs/hfsplus/inode.c +3 more+99 -260 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] 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