• Tushar Sugandhi's avatar
    dm ima: measure data on device rename · 7d1d1df8
    Tushar Sugandhi authored
    A given block device is identified by it's name and UUID.  However, both
    these parameters can be renamed.  For an external attestation service to
    correctly attest a given device, it needs to keep track of these rename
    events.
    
    Update the device data with the new values for IMA measurements.  Measure
    both old and new device name/UUID parameters in the same IMA measurement
    event, so that the old and the new values can be connected later.
    Signed-off-by: default avatarTushar Sugandhi <tusharsu@linux.microsoft.com>
    Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
    7d1d1df8
dm-ioctl.c 49.5 KB