]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: namecheck attribute names before listing them
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 28 Oct 2019 23:12:33 +0000 (16:12 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 29 Oct 2019 16:50:11 +0000 (09:50 -0700)
commit8b66eb3ace01214f56ae2ef5b7afe34c6d699d92
tree070484f28cf4cfd7c56c0f5a7095930b498b5485
parent6b6d8b46300874ba88d46ffcb637f4653813a53b
xfs: namecheck attribute names before listing them

Actually call namecheck on attribute names before we hand them over to
userspace.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/libxfs/xfs_attr_leaf.h
fs/xfs/xfs_attr_list.c