From: Andreas Gruenbacher <andreas.gruenbacher@linbit.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH 00/18] Consolidate Posix ACL implementation
Date: Thu, 5 Dec 2013 18:57:14 +0100 (CET) [thread overview]
Message-ID: <279325185.39210.1386266234086.JavaMail.zimbra@linbit.com> (raw)
In-Reply-To: <20131201115903.910559036@bombadil.infradead.org>
Christoph,
nice work, and a pretty diffstat.
I see that get_acl and set_acl are being defined in some but not all symlink inode operations (for example, btrfs them while ext4 does not), and that posix_acl_xattr_set() doesn't check if set_acl is defined. Symlinks cannot have ACLs, so set_acl should either never be defined for symlinks (and a NULL check is then needed in posix_acl_xattr_set()), or it is defined in all inode operations, and S_ISNLNK() check is needed in posix_acl_xattr_set(). That latter check should probably be added in any case to be on the safe side.
Test case:
setfattr -h -n system.posix_acl_access \
-v 0sAgAAAAEABgD/////AgAGABMEAAAEAAYA/////xAABgD/////IAAEAP////8= \
symlink
Patch 6 also declares posix_acl_prepare() but this function is never introduced; this must be a leftover from a previous version.
Thanks,
Andreas
WARNING: multiple messages have this Message-ID (diff)
From: Andreas Gruenbacher <andreas.gruenbacher@linbit.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org,
linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org,
linux-f2fs-devel@lists.sourceforge.net,
linux-mtd@lists.infradead.org, Mark Fasheh <mfasheh@suse.com>,
Joel Becker <jlbec@evilplan.org>,
reiserfs-devel@vger.kernel.org, xfs@oss.sgi.com,
jfs-discussion@lists.sourceforge.net, cluster-devel@redhat.com,
linux-nfs@vger.kernel.org
Subject: Re: [PATCH 00/18] Consolidate Posix ACL implementation
Date: Thu, 5 Dec 2013 18:57:14 +0100 (CET) [thread overview]
Message-ID: <279325185.39210.1386266234086.JavaMail.zimbra@linbit.com> (raw)
In-Reply-To: <20131201115903.910559036@bombadil.infradead.org>
Christoph,
nice work, and a pretty diffstat.
I see that get_acl and set_acl are being defined in some but not all symlink inode operations (for example, btrfs them while ext4 does not), and that posix_acl_xattr_set() doesn't check if set_acl is defined. Symlinks cannot have ACLs, so set_acl should either never be defined for symlinks (and a NULL check is then needed in posix_acl_xattr_set()), or it is defined in all inode operations, and S_ISNLNK() check is needed in posix_acl_xattr_set(). That latter check should probably be added in any case to be on the safe side.
Test case:
setfattr -h -n system.posix_acl_access \
-v 0sAgAAAAEABgD/////AgAGABMEAAAEAAYA/////xAABgD/////IAAEAP////8= \
symlink
Patch 6 also declares posix_acl_prepare() but this function is never introduced; this must be a leftover from a previous version.
Thanks,
Andreas
WARNING: multiple messages have this Message-ID (diff)
From: Andreas Gruenbacher <andreas.gruenbacher@linbit.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: xfs@oss.sgi.com, Mark Fasheh <mfasheh@suse.com>,
reiserfs-devel@vger.kernel.org,
linux-f2fs-devel@lists.sourceforge.net, cluster-devel@redhat.com,
linux-mtd@lists.infradead.org, viro@zeniv.linux.org.uk,
jfs-discussion@lists.sourceforge.net,
linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org,
linux-nfs@vger.kernel.org, linux-btrfs@vger.kernel.org,
Joel Becker <jlbec@evilplan.org>
Subject: Re: [PATCH 00/18] Consolidate Posix ACL implementation
Date: Thu, 5 Dec 2013 18:57:14 +0100 (CET) [thread overview]
Message-ID: <279325185.39210.1386266234086.JavaMail.zimbra@linbit.com> (raw)
In-Reply-To: <20131201115903.910559036@bombadil.infradead.org>
Christoph,
nice work, and a pretty diffstat.
I see that get_acl and set_acl are being defined in some but not all symlink inode operations (for example, btrfs them while ext4 does not), and that posix_acl_xattr_set() doesn't check if set_acl is defined. Symlinks cannot have ACLs, so set_acl should either never be defined for symlinks (and a NULL check is then needed in posix_acl_xattr_set()), or it is defined in all inode operations, and S_ISNLNK() check is needed in posix_acl_xattr_set(). That latter check should probably be added in any case to be on the safe side.
Test case:
setfattr -h -n system.posix_acl_access \
-v 0sAgAAAAEABgD/////AgAGABMEAAAEAAYA/////xAABgD/////IAAEAP////8= \
symlink
Patch 6 also declares posix_acl_prepare() but this function is never introduced; this must be a leftover from a previous version.
Thanks,
Andreas
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
WARNING: multiple messages have this Message-ID (diff)
From: Andreas Gruenbacher <andreas.gruenbacher@linbit.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: xfs@oss.sgi.com, Mark Fasheh <mfasheh@suse.com>,
reiserfs-devel@vger.kernel.org,
linux-f2fs-devel@lists.sourceforge.net, cluster-devel@redhat.com,
linux-mtd@lists.infradead.org, viro@zeniv.linux.org.uk,
jfs-discussion@lists.sourceforge.net,
linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org,
linux-nfs@vger.kernel.org, linux-btrfs@vger.kernel.org,
Joel Becker <jlbec@evilplan.org>
Subject: Re: [PATCH 00/18] Consolidate Posix ACL implementation
Date: Thu, 5 Dec 2013 18:57:14 +0100 (CET) [thread overview]
Message-ID: <279325185.39210.1386266234086.JavaMail.zimbra@linbit.com> (raw)
In-Reply-To: <20131201115903.910559036@bombadil.infradead.org>
Christoph,
nice work, and a pretty diffstat.
I see that get_acl and set_acl are being defined in some but not all symlink inode operations (for example, btrfs them while ext4 does not), and that posix_acl_xattr_set() doesn't check if set_acl is defined. Symlinks cannot have ACLs, so set_acl should either never be defined for symlinks (and a NULL check is then needed in posix_acl_xattr_set()), or it is defined in all inode operations, and S_ISNLNK() check is needed in posix_acl_xattr_set(). That latter check should probably be added in any case to be on the safe side.
Test case:
setfattr -h -n system.posix_acl_access \
-v 0sAgAAAAEABgD/////AgAGABMEAAAEAAYA/////xAABgD/////IAAEAP////8= \
symlink
Patch 6 also declares posix_acl_prepare() but this function is never introduced; this must be a leftover from a previous version.
Thanks,
Andreas
next prev parent reply other threads:[~2013-12-05 17:57 UTC|newest]
Thread overview: 175+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-01 11:59 [Cluster-devel] [PATCH 00/18] Consolidate Posix ACL implementation 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 11:59 ` Christoph Hellwig
2013-12-01 11:59 ` [Cluster-devel] [PATCH 01/18] reiserfs: prefix ACL symbols with reiserfs_ 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-02 20:15 ` [Cluster-devel] " Jan Kara
2013-12-02 20:15 ` Jan Kara
2013-12-02 20:15 ` Jan Kara
2013-12-02 20:15 ` Jan Kara
2013-12-01 11:59 ` [Cluster-devel] [PATCH 02/18] fs: add get_acl helper 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 11:59 ` Christoph Hellwig
2013-12-02 20:14 ` [Cluster-devel] " Jan Kara
2013-12-02 20:14 ` Jan Kara
2013-12-02 20:14 ` Jan Kara
2013-12-02 20:14 ` Jan Kara
2013-12-01 11:59 ` [Cluster-devel] [PATCH 03/18] fs: add a set_acl inode operation 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 11:59 ` Christoph Hellwig
2013-12-02 20:57 ` [Cluster-devel] " Jan Kara
2013-12-02 20:57 ` Jan Kara
2013-12-02 20:57 ` Jan Kara
2013-12-02 20:57 ` Jan Kara
2013-12-01 11:59 ` [Cluster-devel] [PATCH 04/18] fs: add generic xattr_acl handlers 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-02 20:59 ` [Cluster-devel] " Jan Kara
2013-12-02 20:59 ` Jan Kara
2013-12-02 20:59 ` Jan Kara
2013-12-02 20:59 ` Jan Kara
2013-12-01 11:59 ` [Cluster-devel] [PATCH 05/18] fs: make posix_acl_chmod more useful 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 11:59 ` Christoph Hellwig
2013-12-02 21:09 ` [Cluster-devel] " Jan Kara
2013-12-02 21:09 ` Jan Kara
2013-12-02 21:09 ` Jan Kara
2013-12-02 21:09 ` Jan Kara
2013-12-01 11:59 ` [Cluster-devel] [PATCH 06/18] fs: make posix_acl_create " 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 11:59 ` Christoph Hellwig
2013-12-02 21:11 ` [Cluster-devel] " Jan Kara
2013-12-02 21:11 ` Jan Kara
2013-12-02 21:11 ` Jan Kara
2013-12-02 21:11 ` Jan Kara
2013-12-01 11:59 ` [Cluster-devel] [PATCH 07/18] btrfs: 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 11:59 ` [Cluster-devel] [PATCH 08/18] ext2/3/4: " 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 11:59 ` Christoph Hellwig
2013-12-02 22:13 ` [Cluster-devel] " Jan Kara
2013-12-02 22:13 ` Jan Kara
2013-12-02 22:13 ` Jan Kara
2013-12-02 22:13 ` Jan Kara
2013-12-02 22:18 ` [Cluster-devel] [Jfs-discussion] " gary sheppard
2013-12-02 22:18 ` gary sheppard
2013-12-01 11:59 ` [Cluster-devel] [PATCH 09/18] f2fs: " 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-06 1:37 ` [Cluster-devel] " Jaegeuk Kim
2013-12-06 1:37 ` Jaegeuk Kim
2013-12-06 1:37 ` Jaegeuk Kim
2013-12-06 1:37 ` Jaegeuk Kim
2013-12-06 1:37 ` Jaegeuk Kim
2013-12-08 9:14 ` [Cluster-devel] " Christoph Hellwig
2013-12-08 9:14 ` Christoph Hellwig
2013-12-08 9:14 ` Christoph Hellwig
2013-12-08 9:14 ` Christoph Hellwig
2013-12-08 23:28 ` [Cluster-devel] " Jaegeuk Kim
2013-12-08 23:28 ` Jaegeuk Kim
2013-12-08 23:28 ` Jaegeuk Kim
2013-12-08 23:28 ` Jaegeuk Kim
2013-12-01 11:59 ` [Cluster-devel] [PATCH 10/18] hfsplus: " 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 11:59 ` Christoph Hellwig
2013-12-01 14:36 ` [Cluster-devel] " Vyacheslav Dubeyko
2013-12-01 14:36 ` Vyacheslav Dubeyko
2013-12-01 14:36 ` Vyacheslav Dubeyko
2013-12-01 14:36 ` Vyacheslav Dubeyko
2013-12-01 11:59 ` [Cluster-devel] [PATCH 11/18] jffs2: " 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 11:59 ` Christoph Hellwig
2013-12-01 11:59 ` [Cluster-devel] [PATCH 12/18] ocfs2: " 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 11:59 ` Christoph Hellwig
2013-12-02 23:00 ` [Cluster-devel] " Jan Kara
2013-12-02 23:00 ` Jan Kara
2013-12-02 23:00 ` Jan Kara
2013-12-02 23:00 ` Jan Kara
2013-12-03 10:48 ` [Cluster-devel] " Christoph Hellwig
2013-12-03 10:48 ` Christoph Hellwig
2013-12-03 10:48 ` Christoph Hellwig
2013-12-03 10:48 ` Christoph Hellwig
2013-12-03 10:48 ` Christoph Hellwig
2013-12-01 11:59 ` [Cluster-devel] [PATCH 13/18] reiserfs: " 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 11:59 ` Christoph Hellwig
2013-12-02 22:17 ` [Cluster-devel] " Jan Kara
2013-12-02 22:17 ` Jan Kara
2013-12-02 22:17 ` Jan Kara
2013-12-02 22:17 ` Jan Kara
2013-12-01 11:59 ` [Cluster-devel] [PATCH 14/18] xfs: " 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 11:59 ` Christoph Hellwig
2013-12-02 23:34 ` [Cluster-devel] " Dave Chinner
2013-12-02 23:34 ` Dave Chinner
2013-12-02 23:34 ` Dave Chinner
2013-12-02 23:34 ` Dave Chinner
2013-12-01 11:59 ` [Cluster-devel] [PATCH 15/18] jfs: " 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 11:59 ` Christoph Hellwig
2013-12-02 22:11 ` [Cluster-devel] [Jfs-discussion] " Dave Kleikamp
2013-12-02 22:11 ` Dave Kleikamp
2013-12-02 22:11 ` Dave Kleikamp
2013-12-02 22:11 ` Dave Kleikamp
2013-12-01 11:59 ` [Cluster-devel] [PATCH 16/18] gfs2: " 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 11:59 ` Christoph Hellwig
2013-12-04 12:12 ` [Cluster-devel] " Steven Whitehouse
2013-12-04 12:12 ` Steven Whitehouse
2013-12-04 12:12 ` Steven Whitehouse
2013-12-04 12:12 ` Steven Whitehouse
2013-12-06 19:47 ` Christoph Hellwig
2013-12-06 19:47 ` Christoph Hellwig
2013-12-06 19:47 ` Christoph Hellwig
2013-12-06 19:47 ` Christoph Hellwig
2013-12-01 11:59 ` [Cluster-devel] [PATCH 17/18] nfs: use generic posix ACL infrastructure for v3 Posix ACLs 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 11:59 ` Christoph Hellwig
2013-12-01 11:59 ` [Cluster-devel] [PATCH 18/18] fs: remove generic_acl 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 11:59 ` Christoph Hellwig
2013-12-05 17:57 ` Andreas Gruenbacher [this message]
2013-12-05 17:57 ` [PATCH 00/18] Consolidate Posix ACL implementation Andreas Gruenbacher
2013-12-05 17:57 ` Andreas Gruenbacher
2013-12-05 17:57 ` Andreas Gruenbacher
2013-12-06 19:46 ` [Cluster-devel] " Christoph Hellwig
2013-12-06 19:46 ` Christoph Hellwig
2013-12-06 19:46 ` Christoph Hellwig
2013-12-06 19:46 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=279325185.39210.1386266234086.JavaMail.zimbra@linbit.com \
--to=andreas.gruenbacher@linbit.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.