lkml.org 
[lkml]   [2017]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    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 <tahsin@google.com>

    Added to the ext4 patch queue, thanks.

    - Ted

    \
     
     \ /
      Last update: 2017-06-22 20:04    [W:5.286 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site