All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-devel] [RFC PATCH 0/3] dm ima: allow targets to remeasure their state
@ 2022-01-06 20:34 ` Thore Sommer
  0 siblings, 0 replies; 22+ messages in thread
From: Thore Sommer @ 2022-01-06 20:34 UTC (permalink / raw)
  To: dm-devel, agk, snitzer; +Cc: tusharsu, linux-integrity, Thore Sommer

The current DM IMA events do not cover the case where a device changes
their attributes to indicate a state change. This adds a new event 
(dm_target_update) which allows targets to remeasure their table entries.
The event includes the dm version, device metadata and the target data.

Currently only verity supports this event to ensure that device corruption
can be detected using IMA which is useful for remote attestation.

The current implementation does not update the active table hash because
it would require to rehash the entire table on every target change.

Thore Sommer (3):
  dm ima: allow targets to remeasure their table entry
  dm verity: add support for IMA target update event
  dm ima: add documentation target update event

 .../admin-guide/device-mapper/dm-ima.rst      | 33 ++++++++
 drivers/md/dm-ima.c                           | 76 +++++++++++++++++++
 drivers/md/dm-ima.h                           |  2 +
 drivers/md/dm-verity-target.c                 |  6 ++
 4 files changed, 117 insertions(+)

-- 
2.34.1

--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2022-05-10  6:07 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-06 20:34 [dm-devel] [RFC PATCH 0/3] dm ima: allow targets to remeasure their state Thore Sommer
2022-01-06 20:34 ` Thore Sommer
2022-01-06 20:34 ` [RFC PATCH 1/3] dm ima: allow targets to remeasure their table entry Thore Sommer
2022-01-06 20:34   ` [dm-devel] " Thore Sommer
2022-05-06 20:25   ` Lakshmi Ramasubramanian
2022-05-06 20:25     ` [dm-devel] " Lakshmi Ramasubramanian
2022-05-09  9:55     ` Thore Sommer
2022-05-09  9:55       ` Thore Sommer
2022-05-09 17:07       ` Lakshmi Ramasubramanian
2022-05-09 17:07         ` [dm-devel] " Lakshmi Ramasubramanian
2022-01-06 20:34 ` [dm-devel] [RFC PATCH 2/3] dm verity: add support for IMA target update event Thore Sommer
2022-01-06 20:34   ` Thore Sommer
2022-05-06 20:35   ` Lakshmi Ramasubramanian
2022-05-06 20:35     ` [dm-devel] " Lakshmi Ramasubramanian
2022-05-09  9:33     ` Thore Sommer
2022-05-09  9:33       ` Thore Sommer
2022-01-06 20:34 ` [RFC PATCH 3/3] dm ima: add documentation " Thore Sommer
2022-01-06 20:34   ` [dm-devel] " Thore Sommer
2022-05-06 20:16 ` [RFC PATCH 0/3] dm ima: allow targets to remeasure their state Lakshmi Ramasubramanian
2022-05-06 20:16   ` [dm-devel] " Lakshmi Ramasubramanian
2022-05-09  9:12   ` Thore Sommer
2022-05-09  9:12     ` Thore Sommer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.