]> 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)
commitce609e14ac0bb64f885263f56f43800ec1bda718
tree070484f28cf4cfd7c56c0f5a7095930b498b5485
parente1b19cdb661a07009b040a7b6199bafa62ba53e8
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