Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1281785

[PATCH v2 00/11] xattr cleanups

From Andreas Gruenbacher <agruenba@redhat.com>
Newsgroups linux.kernel
Subject [PATCH v2 00/11] xattr cleanups
Date 2015-12-02 14:50 +0100
Message-ID <qBfXb-7QB-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Here is an updated version.  Changes since the initial posting
(https://lkml.org/lkml/2015/11/30/769):

 * Introduce an xattr_prefix() helper that gets the prefix of an xattr
   handler.

 * ocfs2: The list xattr handler operations were not called; remove
   them and add explicit checks instead.

The patches are also available on the following git branch:

  git://git.kernel.org/pub/scm/linux/kernel/git/agruen/linux.git xattr-wip

Thanks,
Andreas

Andreas Gruenbacher (11):
  vfs: Remove vfs_xattr_cmp
  gfs2: Remove gfs2_xattr_acl_chmod
  posix acls: Remove duplicate xattr name definitions
  vfs: Distinguish between full xattr names and proper prefixes
  btrfs: Use xattr handler infrastructure
  tmpfs: Use xattr handler infrastructure
  tmpfs: listxattr should include POSIX ACL xattrs
  xfs: Change how listxattr generates synthetic attributes
  nfs: Move call to security_inode_listsecurity into nfs_listxattr
  ocfs2: Replace list xattr handler operations
  xattr handlers: Simplify list operation

 drivers/staging/lustre/lustre/llite/xattr.c |   4 +-
 fs/9p/acl.c                                 |  24 ++--
 fs/9p/xattr.c                               |   4 -
 fs/btrfs/acl.c                              |   8 +-
 fs/btrfs/inode.c                            |  16 +--
 fs/btrfs/xattr.c                            | 166 ++++++++++-----------------
 fs/btrfs/xattr.h                            |   2 -
 fs/ceph/acl.c                               |  16 +--
 fs/cifs/xattr.c                             |  16 +--
 fs/ext2/xattr.c                             |  15 ++-
 fs/ext2/xattr_security.c                    |  21 ----
 fs/ext2/xattr_trusted.c                     |  23 +---
 fs/ext2/xattr_user.c                        |  23 +---
 fs/ext4/xattr.c                             |  17 ++-
 fs/ext4/xattr_security.c                    |  22 ----
 fs/ext4/xattr_trusted.c                     |  23 +---
 fs/ext4/xattr_user.c                        |  23 +---
 fs/f2fs/xattr.c                             |  92 +++++----------
 fs/f2fs/xattr.h                             |   2 +-
 fs/gfs2/acl.c                               |   4 +-
 fs/gfs2/acl.h                               |   2 -
 fs/gfs2/xattr.c                             |  50 ---------
 fs/gfs2/xattr.h                             |   1 -
 fs/hfsplus/posix_acl.c                      |   8 +-
 fs/hfsplus/xattr.c                          |  12 --
 fs/jffs2/security.c                         |  22 ----
 fs/jffs2/xattr.c                            |  26 +++--
 fs/jffs2/xattr_trusted.c                    |  21 +---
 fs/jffs2/xattr_user.c                       |  20 ----
 fs/jfs/acl.c                                |   8 +-
 fs/kernfs/inode.c                           |   4 +-
 fs/nfs/nfs3acl.c                            |   4 +-
 fs/nfs/nfs4proc.c                           |  75 +++++++------
 fs/ocfs2/xattr.c                            | 168 ++++++++++------------------
 fs/posix_acl.c                              |  25 +----
 fs/reiserfs/xattr.c                         |  16 ++-
 fs/reiserfs/xattr_acl.c                     |   8 +-
 fs/reiserfs/xattr_security.c                |  16 +--
 fs/reiserfs/xattr_trusted.c                 |  15 +--
 fs/reiserfs/xattr_user.c                    |  14 +--
 fs/squashfs/xattr.c                         |  38 ++-----
 fs/xattr.c                                  | 163 +++++++++++++--------------
 fs/xfs/xfs_acl.c                            |  23 ----
 fs/xfs/xfs_acl.h                            |   4 -
 fs/xfs/xfs_xattr.c                          | 143 ++++++++++-------------
 include/linux/posix_acl_xattr.h             |   6 +-
 include/linux/xattr.h                       |  20 ++--
 mm/shmem.c                                  | 133 +++++++---------------
 security/smack/smack_lsm.c                  |   2 -
 49 files changed, 514 insertions(+), 1054 deletions(-)

-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 00/11] xattr cleanups Andreas Gruenbacher <agruenba@redhat.com> - 2015-12-02 14:50 +0100
  [PATCH v2 01/11] vfs: Remove vfs_xattr_cmp Andreas Gruenbacher <agruenba@redhat.com> - 2015-12-02 14:50 +0100
  [PATCH v2 05/11] btrfs: Use xattr handler infrastructure Andreas Gruenbacher <agruenba@redhat.com> - 2015-12-02 14:50 +0100
  [PATCH v2 10/11] ocfs2: Replace list xattr handler operations Andreas Gruenbacher <agruenba@redhat.com> - 2015-12-02 14:50 +0100
  [PATCH v2 03/11] posix acls: Remove duplicate xattr name definitions Andreas Gruenbacher <agruenba@redhat.com> - 2015-12-02 14:50 +0100
  [PATCH v2 11/11] xattr handlers: Simplify list operation Andreas Gruenbacher <agruenba@redhat.com> - 2015-12-02 14:50 +0100
  [PATCH v2 04/11] vfs: Distinguish between full xattr names and proper prefixes Andreas Gruenbacher <agruenba@redhat.com> - 2015-12-02 14:50 +0100
  [PATCH v2 06/11] tmpfs: Use xattr handler infrastructure Andreas Gruenbacher <agruenba@redhat.com> - 2015-12-02 14:50 +0100
  [PATCH v2 07/11] tmpfs: listxattr should include POSIX ACL xattrs Andreas Gruenbacher <agruenba@redhat.com> - 2015-12-02 14:50 +0100
  [PATCH v2 08/11] xfs: Change how listxattr generates synthetic attributes Andreas Gruenbacher <agruenba@redhat.com> - 2015-12-02 14:50 +0100
  [PATCH v2 09/11] nfs: Move call to security_inode_listsecurity into nfs_listxattr Andreas Gruenbacher <agruenba@redhat.com> - 2015-12-02 14:50 +0100
  [PATCH v2 02/11] gfs2: Remove gfs2_xattr_acl_chmod Andreas Gruenbacher <agruenba@redhat.com> - 2015-12-02 14:50 +0100

csiph-web