Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2411001imu; Sun, 6 Jan 2019 00:40:08 -0800 (PST) X-Google-Smtp-Source: ALg8bN7JZmMTTIj3D9VCHBRigAvSmfnWy7uL3n9R3X6iNNHFQqQokL9kwp8/oxLbh0rr0nSRfToY X-Received: by 2002:a17:902:346:: with SMTP id 64mr58678578pld.337.1546764008090; Sun, 06 Jan 2019 00:40:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546764008; cv=none; d=google.com; s=arc-20160816; b=Lxv1iyF+ceTv7cVxLPDoYLA2/g3BrQG8FfSMlwK/7k+yX0efcfAJF5sYztkvgp8zaf w40E+OeG4Es25Jq3g1PMpJujmvvTbhObD5SulccbAin+OBD46FEVRCuWLg6H00YQJuMq ZvWMDlppJVnW1F4u41ezgp1ebBaIZtWOsyxuFRmTpBFWFFoZIb6ErVAufp570oELk+jj Ol4YJp//gdWt1qJORPG0tjbFvqQ04K4YwPYT/fQGHPL9Bk40ywxuIOUtGv2olr6t9tTy Tr+Fen499HYxHEmI0mH/pba/HocftmDQTzfy/2z5POvBMsv+sFa8N6FSVkBejdgxpbJk okVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=o4hqZQt0eUakSoo/AJwStiA6SrqHVjgeUpm9HGtdVcg=; b=b/jZAKlrz1rPA7xIJNX1W6KPAzQhLSLJEqbbNVO/nPL5kahYQnp6Z5vzWnA9v+wQHA WHHcZwSxI3mZvXZrHpN40asRB4bpnuW7r3e0qXdUDIXek1zT58Bzy91kGHx7JfL1XYRr 3ub6E7fwQCDg0HGV8F04gwqMpwsXJEr9LkffTZNJy6Y3OaM4RiuZigFqSPeS6cAeKs93 X2xi5Brekjjok/hc4DEvk/gE/KrLdpvxhBUBLTLCydDU4WwL3hsvd7X2h/RtbWuq5PQR ztnHrAo/eQ+R94lzJ6kpPkFkvbUkZVtnWpmKj3QWbAagoxD7JoWL62gb9XmYjI8+fUtL /Hag== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@chronox.de header.s=strato-dkim-0002 header.b=WxdBUMYE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w5si3175461pll.64.2019.01.06.00.39.40; Sun, 06 Jan 2019 00:40:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@chronox.de header.s=strato-dkim-0002 header.b=WxdBUMYE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726481AbfAFI0P (ORCPT + 99 others); Sun, 6 Jan 2019 03:26:15 -0500 Received: from mo4-p02-ob.smtp.rzone.de ([85.215.255.81]:31550 "EHLO mo4-p02-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726403AbfAFI0P (ORCPT ); Sun, 6 Jan 2019 03:26:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1546763173; s=strato-dkim-0002; d=chronox.de; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=o4hqZQt0eUakSoo/AJwStiA6SrqHVjgeUpm9HGtdVcg=; b=WxdBUMYECBs6+zxumwy/7jTEMcLBkyO8Xf+RbN++fzM/W4abiQxDCCdWP9r0kl7IjL pPTpxzB8SDUhhl1rilj0z59bN3vl5aykueOIydAcEPTojObdiWswBBY8ktg1gxV666MR VpI3f2n3N8NLW62ze45TMiATes7z6t0qMQoEVg0Oz8PPQ3fA4BGCk/RK9gxyTaO8Tprj uTUQQfcJrK8/1kJMaXX9mw9fbxOz6WVh6UygLC7/K+f209DyTzRdDWk5lsBieqPPe6e0 RykY//M9iNiWBynWgeJprNdW21MEyiJkMFPdMmnbGAYsecOAmWqom5pA9g70XD4EvQAD mFMw== X-RZG-AUTH: ":P2ERcEykfu11Y98lp/T7+hdri+uKZK8TKWEqNyiHySGSa9k9xmwdNnzGHXPbI/Scimcp" X-RZG-CLASS-ID: mo00 Received: from tauon.chronox.de by smtp.strato.de (RZmta 44.9 DYNA|AUTH) with ESMTPSA id 309bcfv068Pw7qR (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Sun, 6 Jan 2019 09:25:58 +0100 (CET) From: Stephan Mueller To: Stephan Mueller Cc: "Lee, Chun-Yi" , "Rafael J . Wysocki" , Pavel Machek , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, keyrings@vger.kernel.org, "Lee, Chun-Yi" , "Rafael J. Wysocki" , Chen Yu , Oliver Neukum , Ryan Chen , David Howells , Giovanni Gherdovich , Randy Dunlap , Jann Horn , Andy Lutomirski Subject: Re: [PATCH 1/5 v2] PM / hibernate: Create snapshot keys handler Date: Sun, 06 Jan 2019 09:25:57 +0100 Message-ID: <7661280.VaQ99ZmoaG@tauon.chronox.de> In-Reply-To: <4539995.kc8yiMsNgQ@tauon.chronox.de> References: <20190103143227.9138-1-jlee@suse.com> <20190103143227.9138-2-jlee@suse.com> <4539995.kc8yiMsNgQ@tauon.chronox.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Sonntag, 6. Januar 2019, 09:01:27 CET schrieb Stephan Mueller: Hi, > > + memcpy(skey.key, ukp->data, ukp->datalen); > > Where would skey.key be destroyed again? Now I see it - it is in patch 4. Please disregard my comment. Ciao Stephan