diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-12-30 14:19:39 -0800 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2023-02-25 21:08:49 +0800 |
commit | 570bd5166512deb03ec1632b136ad5ed3635909f (patch) | |
tree | e840237b3e4d8f33226ac9643df19789cca6ce90 /common/fuzzy | |
parent | c749874cf664c225074a32084524343ff9062d42 (diff) |
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 <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
Diffstat (limited to 'common/fuzzy')
-rw-r--r-- | common/fuzzy | 8 |
1 files changed, 7 insertions, 1 deletions
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 |