]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - configure.ac
xfs_scrub: warn about suspicious characters in directory/xattr names
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 2 Feb 2018 15:32:46 +0000 (09:32 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 2 Feb 2018 15:32:46 +0000 (09:32 -0600)
commit396cd0223598bb11a73d49fbd2fb64d1b8d4e354
treeb0ce34b363fccf773d6b1df302d3649e130149c7
parentc4892e766914ab1ea36ae93cc310eebec9f1d524
xfs_scrub: warn about suspicious characters in directory/xattr names

Look for control characters and punctuation that interfere with shell
globbing in directory entry names and extended attribute key names.
Technically these aren't filesystem corruptions because names are
arbitrary sequences of bytes, but they've been known to cause problems
in the Unix environment so warn if we see them.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
configure.ac
debian/control
include/builddefs.in
m4/Makefile
m4/package_attr.m4 [new file with mode: 0644]
scrub/Makefile
scrub/common.c
scrub/common.h
scrub/phase5.c
scrub/xfs_scrub.h