dm verity: add "panic_on_corruption" error handling mode
authorJeongHyeon Lee <jhs2.lee@samsung.com>
Thu, 18 Jun 2020 06:56:50 +0000 (15:56 +0900)
committerMike Snitzer <snitzer@redhat.com>
Mon, 13 Jul 2020 15:47:33 +0000 (11:47 -0400)
commite1fef0b08e06dcce275bd585bc6a900dff395096
tree761336e1a822cf7f88504cb527eba34ef762c8a8
parent374117ad4736c5a4f8012cfe59fc07d9d58191d5
dm verity: add "panic_on_corruption" error handling mode

Samsung smart phones may need the ability to panic on corruption.  Not
all devices provide the bootloader support needed to use the existing
"restart_on_corruption" mode.  Additional details for why Samsung needs
this new mode can be found here:
https://www.redhat.com/archives/dm-devel/2020-June/msg00235.html

Signed-off-by: jhs2.lee <jhs2.lee@samsung.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Documentation/admin-guide/device-mapper/verity.rst
drivers/md/dm-verity-target.c
drivers/md/dm-verity.h