summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorBenjamin Marzinski <bmarzins@redhat.com>2026-04-29 16:21:08 -0400
committerMikulas Patocka <mpatocka@redhat.com>2026-05-04 14:53:52 +0200
commit2ac3de0bbf40ecf32875e0a28b592a5d97d0503e (patch)
treee58dc634c8fd81cc96b2358a2b56df80dd60dd62 /include/linux/debugobjects.h
parent8710ef1fa0715a331f967565a4eb56c6d4b4c15b (diff)
dm-ima: use active table's size if available
It is possible that the dm_ima_measure_on_* functions run at the same time as a table is getting swapped, but before the md->ima.active_table is updated by dm_ima_measure_on_device_resume(). Instead of using the current device size, use the size of the active table that is being measured (assuming there is one), so the information is consistent. Also, don't allocate a separate string to hold the capactiy. Just print it directly to the measurement buffer. Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions