All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/18] Consolidate Posix ACL implementation V2
@ 2013-12-11 10:42 ` Christoph Hellwig
  0 siblings, 0 replies; 136+ messages in thread
From: Christoph Hellwig @ 2013-12-11 10:42 UTC (permalink / raw)
  To: viro
  Cc: linux-fsdevel, linux-btrfs, linux-ext4, linux-f2fs-devel,
	linux-mtd, Mark Fasheh, Joel Becker, reiserfs-devel, xfs,
	jfs-discussion, cluster-devel, linux-nfs, Andreas Gruenbacher

This series consolidates the various cut'n'pasted Posix ACL implementations
into a single common one based on the ->get_acl method Linus added a while
ago and a new ->set_acl counterpart.

This remove ~1800 lines of code and provides a single place to implement
various nasty little gems of the semantics.

Unfortunately the 9p code is still left out - it implements the ACLs
in two very weird ways, one using the common code but on the client only,
and one pasing things straight through to the server.  We could easily
convert it to the new code on the write side if ->set_acl took a dentry,
but there's no cance to do that on the ->get_acl side.  Ideas how to
handle it welcome.

After that we'd be ready to never go into the fs for the ACL attributes
and branch straight to the ACL code below the syscall, repairing the
old API braindamage of overloading ACLs onto the xattrs.


Changes from V1:
 - check for symlinks in the ACL code and remove checks in the lower
   level functions.
 - remove get_acl instances for symlinks in a few filesystems
 - pass a umode_t mode argument to posix_acl_chmod to accomodate f2fs
 - various cosemtic bits from the reviews.

Note that I still haven't heard from ocfs2 folks, so the patch is left
unchanged.

^ permalink raw reply	[flat|nested] 136+ messages in thread
* [PATCH 00/18] Consolidate Posix ACL implementation
@ 2013-12-01 11:59 Christoph Hellwig
  2013-12-01 11:59   ` Christoph Hellwig
  0 siblings, 1 reply; 136+ messages in thread
From: Christoph Hellwig @ 2013-12-01 11:59 UTC (permalink / raw)
  To: viro
  Cc: linux-fsdevel, linux-btrfs, linux-ext4, linux-f2fs-devel,
	linux-mtd, Mark Fasheh, Joel Becker, reiserfs-devel, xfs,
	jfs-discussion, cluster-devel, linux-nfs


This series consolidates the various cut'n'pasted Posix ACL implementations
into a single common one based on the ->get_acl method Linus added a while
ago and a new ->set_acl counterpart.

This 1600 lines of code and provides a single place to implement various
nasty little gems of the semantics.

Unfortunately the 9p code is still left out - it implements the ACLs
in two very weird ways, one using the common code but on the client only,
and one pasing things straight through to the server.  We could easily
convert it to the new code on the write side if ->set_acl took a dentry,
but there's no cance to do that on the ->get_acl side.  Ideas how to
handle it welcome.

After that we'd be ready to never go into the fs for the ACL attributes
and branch straight to the ACL code below the syscall, repairing the
old API braindamage of overloading ACLs onto the xattrs.

Btw, I'd be almost tempted to do that for all system.* attrs.  Besides
Posix ACLs we only have CIFS and NFSv4 ACL variants, weird advice crap
in f2fs, and the magic mushroom proto name on sockets.

^ permalink raw reply	[flat|nested] 136+ messages in thread

end of thread, other threads:[~2013-12-12 21:05 UTC | newest]

Thread overview: 136+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-11 10:42 [PATCH 00/18] Consolidate Posix ACL implementation V2 Christoph Hellwig
2013-12-11 10:42 ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:42 ` Christoph Hellwig
2013-12-11 10:42 ` Christoph Hellwig
2013-12-11 10:42 ` Christoph Hellwig
2013-12-11 10:42 ` [PATCH 01/18] reiserfs: prefix ACL symbols with reiserfs_ Christoph Hellwig
2013-12-11 10:42   ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42 ` [PATCH 02/18] fs: add get_acl helper Christoph Hellwig
2013-12-11 10:42   ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-12 19:06   ` Andreas Gruenbacher
2013-12-12 19:06     ` [Cluster-devel] " Andreas Gruenbacher
2013-12-12 19:06     ` Andreas Gruenbacher
2013-12-12 19:06     ` Andreas Gruenbacher
2013-12-12 21:04     ` Christoph Hellwig
2013-12-12 21:04       ` [Cluster-devel] " Christoph Hellwig
2013-12-12 21:04       ` Christoph Hellwig
2013-12-12 21:04       ` Christoph Hellwig
2013-12-12 21:04       ` Christoph Hellwig
2013-12-11 10:42 ` [PATCH 03/18] fs: add a set_acl inode operation Christoph Hellwig
2013-12-11 10:42   ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42 ` [PATCH 04/18] fs: add generic xattr_acl handlers Christoph Hellwig
2013-12-11 10:42   ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-12 19:07   ` Andreas Gruenbacher
2013-12-12 19:07     ` [Cluster-devel] " Andreas Gruenbacher
2013-12-12 19:07     ` Andreas Gruenbacher
2013-12-12 19:07     ` Andreas Gruenbacher
2013-12-12 19:07     ` Andreas Gruenbacher
2013-12-11 10:42 ` [PATCH 05/18] fs: make posix_acl_chmod more useful Christoph Hellwig
2013-12-11 10:42   ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-12 19:07   ` Andreas Gruenbacher
2013-12-12 19:07     ` [Cluster-devel] " Andreas Gruenbacher
2013-12-12 19:07     ` Andreas Gruenbacher
2013-12-12 19:07     ` Andreas Gruenbacher
2013-12-12 21:05     ` Christoph Hellwig
2013-12-12 21:05       ` [Cluster-devel] " Christoph Hellwig
2013-12-12 21:05       ` Christoph Hellwig
2013-12-12 21:05       ` Christoph Hellwig
2013-12-12 21:05       ` Christoph Hellwig
2013-12-11 10:42 ` [PATCH 06/18] fs: make posix_acl_create " Christoph Hellwig
2013-12-11 10:42   ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42 ` [PATCH 07/18] btrfs: use generic posix ACL infrastructure Christoph Hellwig
2013-12-11 10:42   ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42 ` [PATCH 08/18] ext2/3/4: " Christoph Hellwig
2013-12-11 10:42   ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42 ` [PATCH 09/18] f2fs: " Christoph Hellwig
2013-12-11 10:42   ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42 ` [PATCH 10/18] hfsplus: " Christoph Hellwig
2013-12-11 10:42   ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42 ` [PATCH 11/18] jffs2: " Christoph Hellwig
2013-12-11 10:42   ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42 ` [PATCH 12/18] ocfs2: " Christoph Hellwig
2013-12-11 10:42   ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42 ` [PATCH 13/18] reiserfs: " Christoph Hellwig
2013-12-11 10:42   ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42 ` [PATCH 14/18] xfs: " Christoph Hellwig
2013-12-11 10:42   ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42 ` [PATCH 15/18] jfs: " Christoph Hellwig
2013-12-11 10:42   ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42 ` [PATCH 16/18] gfs2: " Christoph Hellwig
2013-12-11 10:42   ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:42   ` Christoph Hellwig
2013-12-11 10:52   ` [Cluster-devel] " Steven Whitehouse
2013-12-11 10:52     ` Steven Whitehouse
2013-12-11 10:52     ` Steven Whitehouse
2013-12-11 10:52     ` Steven Whitehouse
2013-12-11 10:52     ` Steven Whitehouse
2013-12-12 19:08   ` Andreas Gruenbacher
2013-12-12 19:08     ` [Cluster-devel] " Andreas Gruenbacher
2013-12-12 19:08     ` Andreas Gruenbacher
2013-12-12 19:08     ` Andreas Gruenbacher
2013-12-12 21:05     ` Christoph Hellwig
2013-12-12 21:05       ` [Cluster-devel] " Christoph Hellwig
2013-12-12 21:05       ` Christoph Hellwig
2013-12-12 21:05       ` Christoph Hellwig
2013-12-12 21:05       ` Christoph Hellwig
2013-12-11 10:43 ` [PATCH 17/18] nfs: use generic posix ACL infrastructure for v3 Posix ACLs Christoph Hellwig
2013-12-11 10:43   ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:43   ` Christoph Hellwig
2013-12-11 10:43   ` Christoph Hellwig
2013-12-11 10:43   ` Christoph Hellwig
2013-12-11 10:43 ` [PATCH 18/18] fs: remove generic_acl Christoph Hellwig
2013-12-11 10:43   ` [Cluster-devel] " Christoph Hellwig
2013-12-11 10:43   ` Christoph Hellwig
2013-12-11 10:43   ` Christoph Hellwig
2013-12-11 10:43   ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2013-12-01 11:59 [PATCH 00/18] Consolidate Posix ACL implementation Christoph Hellwig
2013-12-01 11:59 ` [PATCH 10/18] hfsplus: use generic posix ACL infrastructure Christoph Hellwig
2013-12-01 11:59   ` Christoph Hellwig
2013-12-01 11:59   ` Christoph Hellwig
2013-12-01 11:59   ` Christoph Hellwig
2013-12-01 14:36   ` Vyacheslav Dubeyko
2013-12-01 14:36     ` Vyacheslav Dubeyko
2013-12-01 14:36     ` Vyacheslav Dubeyko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.