Thread (18 messages) 18 messages, 2 authors, 2017-06-22

Re: [PATCH 31/32] ext4: strong binding of xattr inode references

From: Theodore Ts'o <tytso@mit.edu>
Date: 2017-06-22 15:54:28
Also in: lkml

On Wed, Jun 21, 2017 at 06:49:38PM -0700, Tahsin Erdogan wrote:
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 <redacted>
Added to the ext4 patch queue, thanks.

					- Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help