diff options
author | Darrick J. Wong <[email protected]> | 2022-05-20 14:42:15 +1000 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2022-05-20 14:42:15 +1000 |
commit | 85d76aec6bbb3dd0131511e73d48b2816e7ab8de (patch) | |
tree | 4266f400b5d9a8a381aa9a85fcbf4ae22c9f06e8 /lib/test_fortify/write_overflow-strncpy.c | |
parent | 356cb708ea1886d1f7734cc1a8c4708b35ce5d77 (diff) |
xfs: reject unknown xattri log item filter flags during recovery
Make sure we screen the "attr flags" field of recovered xattr intent log
items to reject flag bits that we don't know about. This is really the
attr *filter* field from xfs_da_args, so rename the field and create
a mask to make checking for invalid bits easier.
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Reviewed-by: Allison Henderson <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions