RE: [PATCH 2/2] dm verity: allow only one verify mode

2021-03-14 Thread JeongHyeon Lee
says verity mode, so I wrote it down. never mind it :) like this) case DM_VERITY_MODE_LOGGING: case DM_VERITY_MODE_RESTART: case DM_VERITY_MODE_PANIC: Thank you, JeongHyeon Lee. > On Thu, Mar 11, 2021 at 4:19 AM JeongHyeon Lee > wrote: > > > > If there are multiple

[PATCH 2/2] dm verity: allow only one verify mode

2021-03-11 Thread JeongHyeon Lee
If there are multiple verity mode when parsing the verity mode of dm verity table, it will be set as the last one. So set to 'allow only once' to prevent it. Signed-off-by: JeongHyeon Lee --- drivers/md/dm-verity-target.c | 38 ++- 1 file changed, 28 insertions

[PATCH 1/2] dm verity: fix DM_VERITY_OPTS_MAX value

2021-03-11 Thread JeongHyeon Lee
1036909 fec_start 1036909 restart_on_corruption ignore_zero_blocks check_at_most_once' Signed-off-by: JeongHyeon Lee --- drivers/md/dm-verity-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/dm-verity-target.c b/drivers/md/dm-verity-target.c index 6b8e5bdd8526

Re: New mode DM-Verity error handling

2020-06-23 Thread JeongHyeon Lee
Dear Milan Broz. Thank you for answer my query. I asked you again because i was confused. Yes, I also looked at the document and get a lot of information or studies related to dm-verity. https://gitlab.com/cryptsetup/cryptsetup/-/wikis/DMVerity Thank you : D JeongHyeon Lee On 23/06

Re: New mode DM-Verity error handling

2020-06-22 Thread JeongHyeon Lee
. JeongHyeon Lee On 22/06/2020 16:58, Milan Broz wrote: > On 18/06/2020 19:09, Mike Snitzer wrote: >> On Thu, Jun 18 2020 at 12:50pm -0400, >> Sami Tolvanen wrote: >> >>> On Thu, Jun 18, 2020 at 11:44:45AM -0400, Mike Snitzer wrote: >>>> I do not accept that pan

Re: New mode DM-Verity error handling

2020-06-21 Thread JeongHyeon Lee
rating a panic or restart. This will make the security feel strong. So reboot mode and panic mode will be required. We have long explained why we need it. Through this, Samsung needs a panic mode, so please read it carefully and give feedback. Thank you :D Jeonghyeon Lee On 19/06/2020 02:09, Mi

[patch] New mode DM-Verity error handling

2020-06-18 Thread JeongHyeon Lee
Hello, Dear devcice-mapper maintainers. I'm JeongHyeon Lee, work in Samsung. I'm chage of DM-Verity feature with Mr. sunwook eom. I have a patch or suggestion about DM-Verity error handling. Our device (smart phone) need DM-Verity feature. So I hope there is new mode DM-Verity error handling