diff options
author | Tahsin Erdogan <tahsin@google.com> | 2017-06-22 11:53:15 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-06-22 11:53:15 -0400 |
commit | b9fc761ea2d82e910e92f83d01bbbbe1f5e99bfc (patch) | |
tree | f902c1b80c61b08a08493f86414542bafe517899 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | daf8328172dffabb4a6b5e1970d6e9628669f51c (diff) |
ext4: strong binding of xattr inode references
To verify that a xattr entry is not pointing to the wrong xattr inode,
we currently check that the target inode has EXT4_EA_INODE_FL flag set and
also the entry size matches the target inode size.
For stronger validation, also incorporate crc32c hash of the value into
the e_hash field. This is done regardless of whether the entry lives in
the inode body or external attribute block.
Signed-off-by: Tahsin Erdogan <tahsin@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions