Skip to content

hfsplus: implement ACLs support

Vyacheslav Dubeyko linux-fsdevel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v23 patches 4 repliesSuperseded
  3. v13 patches 0 repliesSuperseded

Changes in v3 from the cover letter

* Fix errors in dprint_hexdump() macro.
* Correct format on %zd for size_t in dprint() calls.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hfsplus: add all necessary declarations for ACLs supportfs/hfsplus/hfsplus_fs.h fs/hfsplus/hfsplus_raw.h+38 -20 replies
2/3hfsplus: add implementation of the ACLs supportfs/hfsplus/acl.c fs/hfsplus/acl.h+1581 -03 replies
3/3hfsplus: integrate of implemented ACLs support into driverfs/hfsplus/Makefile fs/hfsplus/dir.c fs/hfsplus/inode.c +3 more+52 -260 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/3] hfsplus: implement ACLs support

Hi,

This patchset implements ACLs support in hfsplus driver.

v2->v3
* Fix errors in dprint_hexdump() macro.
* Correct format on %zd for size_t in dprint() calls.

v1->v2
* Add several dprint() messages.
* Change hardcoded function names on __func__ macro.
* Fix coding style errors.

Mac OS X supports NFSv4 ACLs. It keeps its in the form of specially named xattr (com.apple.system.Security). So, this patchset makes conversion between NFSv4 and POSIX ACLs.

With the best regards,
Vyacheslav Dubeyko.

---
 fs/hfsplus/Makefile         |    2 +-
 fs/hfsplus/acl.c            | 1491 +++++++++++++++++++++++++++++++++++++++++++
 fs/hfsplus/acl.h            |   90 +++
 fs/hfsplus/dir.c            |    2 +
 fs/hfsplus/hfsplus_fs.h     |   14 +-
 fs/hfsplus/hfsplus_raw.h    |   26 +
 fs/hfsplus/inode.c          |    9 +
 fs/hfsplus/xattr.c          |   20 +-
 fs/hfsplus/xattr.h          |   32 +-
 fs/hfsplus/xattr_security.c |   13 +
 10 files changed, 1671 insertions(+), 28 deletions(-)

--
1.7.9.5