Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756028AbbGGH7y (ORCPT ); Tue, 7 Jul 2015 03:59:54 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:38002 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754230AbbGGH7p (ORCPT ); Tue, 7 Jul 2015 03:59:45 -0400 Date: Tue, 7 Jul 2015 09:59:41 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Alasdair Kergon , Mike Snitzer , Neil Brown , "Rafael J. Wysocki" , Len Brown , Pavel Machek Cc: dm-devel@redhat.com, linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH v2 0/3] dm-crypt: Adds support for wiping key when doing suspend/hibernation Message-ID: <20150707075941.GD12087@pali> References: <1428254419-7334-1-git-send-email-pali.rohar@gmail.com> <1434885634-19895-1-git-send-email-pali.rohar@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1434885634-19895-1-git-send-email-pali.rohar@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1490 Lines: 37 On Sunday 21 June 2015 13:20:31 Pali Rohár wrote: > This patch series increase security of suspend and hibernate actions. It allows > user to safely wipe crypto keys before suspend and hibernate actions starts > without race conditions on userspace process with heavy I/O. > > To automatically wipe cryto key for before hibernate action call: > $ dmsetup message 0 key wipe_on_hibernation > > To automatically wipe cryto key for before suspend action call: > $ dmsetup message 0 key wipe_on_suspend > > To disable automatic wipe call retain_on_suspend/retain_on_hibernation. > > Pali Rohár (3): > PM suspend/hibernate: Call notifier after freezing processes > dm: Export function dm_suspend_md() > dm-crypt: Adds support for wiping key when doing suspend/hibernation > > drivers/md/dm-crypt.c | 126 +++++++++++++++++++++++++++++++++++++++++++--- > drivers/md/dm.c | 6 +++ > drivers/md/dm.h | 5 ++ > include/linux/suspend.h | 2 + > kernel/power/hibernate.c | 2 + > kernel/power/suspend.c | 4 +- > 6 files changed, 136 insertions(+), 9 deletions(-) > Hello, can somebody look and review this (v2) patch series? -- Pali Rohár pali.rohar@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/