aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorThore Sommer <[email protected]>2022-01-25 15:05:47 +0100
committerMike Snitzer <[email protected]>2022-02-22 10:42:41 -0500
commit118f31b4964fa9fce65b0901ef598c734553cfc7 (patch)
treeb4e9b792963a61d9175dc728576a58ce37e19090 /scripts/gdb/linux/tasks.py
parent302f035141d3d4faee36f8543d34a32fb36a886d (diff)
dm ima: fix wrong length calculation for no_data string
All entries measured by dm ima are prefixed by a version string (dm_version=N.N.N). When there is no data to measure, the entire buffer is overwritten with a string containing the version string again and the length of that string is added to the length of the version string. The new length is now wrong because it contains the version string twice. This caused entries like this: dm_version=4.45.0;name=test,uuid=test;table_clear=no_data; \ \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \ current_device_capacity=204808; Signed-off-by: Thore Sommer <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions