From 570bd5166512deb03ec1632b136ad5ed3635909f Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Fri, 30 Dec 2022 14:19:39 -0800 Subject: [PATCH] fuzzy: don't fuzz xattr namespace flags and values 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 Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- common/fuzzy | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/common/fuzzy b/common/fuzzy index 2ecc862c..b3f4898a 100644 --- a/common/fuzzy +++ b/common/fuzzy @@ -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 -- 2.39.5