Tahsin Erdogan b9fc761ea2 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>
2017-06-22 11:53:15 -04:00
..
2017-06-22 11:44:55 -04:00
2015-04-02 23:47:42 -04:00
2016-09-30 02:14:56 -04:00
2017-06-22 11:44:55 -04:00
2017-04-30 00:36:53 -04:00
2017-04-30 00:36:53 -04:00
2017-02-02 11:52:14 -05:00
2017-06-21 21:10:32 -04:00
2017-04-30 00:36:53 -04:00
2017-06-22 11:31:25 -04:00
2017-04-30 00:36:53 -04:00
2016-11-01 09:43:26 -06:00
2017-06-22 11:31:25 -04:00
2017-06-21 21:09:57 -04:00
2017-04-03 01:05:58 -04:00