aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2024-02-19 21:30:10 +0100
committerMike Snitzer <[email protected]>2024-02-20 13:34:31 -0500
commit50c70240097ce41fe6bce6478b80478281e4d0f7 (patch)
treef44173832624cc6b0e0f28059ccf99dfa871c812 /tools/perf/scripts/python/stackcollapse.py
parent9177f3c0dea6143d05cac1bbd28668fd0e216d11 (diff)
dm-crypt: don't modify the data when using authenticated encryption
It was said that authenticated encryption could produce invalid tag when the data that is being encrypted is modified [1]. So, fix this problem by copying the data into the clone bio first and then encrypt them inside the clone bio. This may reduce performance, but it is needed to prevent the user from corrupting the device by writing data with O_DIRECT and modifying them at the same time. [1] https://lore.kernel.org/all/[email protected]/T/ Signed-off-by: Mikulas Patocka <[email protected]> Cc: [email protected] Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions