]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
fuzzy: don't fuzz xattr namespace flags and values
authorDarrick J. Wong <djwong@kernel.org>
Fri, 30 Dec 2022 22:19:39 +0000 (14:19 -0800)
committerZorro Lang <zlang@kernel.org>
Sat, 25 Feb 2023 13:08:49 +0000 (21:08 +0800)
Extended attribute namespace flags are controlled by userspace, and
there is no validation imposed on the values.  Don't bother fuzzing
either of these things.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/fuzzy

index 2ecc862c6a42fd61f1f343c0e43b5ce9d5b2bc96..b3f4898a429d5d1c4d77af5c2e89ce7daf2ff482 100644 (file)
@@ -92,7 +92,13 @@ __filter_unvalidated_xfs_db_fields() {
            -e '/^core.noatime/d' \
            -e '/^core.nodump/d' \
            -e '/^core.nodefrag/d' \
-           -e '/^v3.dax/d'
+           -e '/^v3.dax/d' \
+           -e '/^nvlist.*value/d' \
+           -e '/^entries.*root/d' \
+           -e '/^entries.*secure/d' \
+           -e '/^a.sfattr.list.*value/d' \
+           -e '/^a.sfattr.list.*root/d' \
+           -e '/^a.sfattr.list.*secure/d'
 }
 
 # Filter the xfs_db print command's field debug information