Allison Henderson daf9f88490 xfs: don't return XFS_ATTR_PARENT attributes via listxattr
Parent pointers are internal filesystem metadata.  They're not intended
to be directly visible to userspace, so filter them out of
xfs_xattr_put_listent so that they don't appear in listxattr.

Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Inspired-by: Andrey Albershteyn <aalbersh@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
[djwong: change this to XFS_ATTR_PRIVATE_NSP_MASK per fsverity patchset]
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2024-04-23 07:46:59 -07:00
..
2024-04-23 07:46:59 -07:00
2024-02-22 12:43:35 -08:00
2024-04-15 14:58:53 -07:00
2024-03-13 13:52:24 -07:00
2024-04-22 18:00:47 +05:30
2024-04-22 18:00:47 +05:30
2024-02-22 12:43:35 -08:00
2024-04-22 12:51:43 +05:30
2024-04-15 14:59:02 -07:00
2024-02-17 09:32:32 +05:30
2024-04-22 18:00:47 +05:30
2024-04-23 07:46:50 -07:00