Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp438577pxa; Thu, 27 Aug 2020 06:35:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxU9H/UXFT7IHhlrQgIoX+2nBIe05zP9XdGEVSUAjG/9VVgMUkOQp/7INE7djQ1BD2aeA5G X-Received: by 2002:a17:906:9356:: with SMTP id p22mr20576857ejw.119.1598535354568; Thu, 27 Aug 2020 06:35:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598535354; cv=none; d=google.com; s=arc-20160816; b=Nnn8/PolRu4qTg9VU642p2T1mAflVQipMzV381IU9PBh9vd9aUUJuuAgQucoWMdKvZ JPos8DHWYiI4CeilhyBjWlqS6muVWc3HJHAdu2UDP/vuRVXQDrfqwR1raLfNRjiSNcwB L9jn0uxg3jxEPaYo8HoPXQndqko1GYjo/q7Qf1LQdgHoaXQxYSiT7mLTEYuOkapizqfT j0sNKWtGhxBNpWK6WQFdk7/ey4AQSLShgZAyDXvDaRgIzMnc55Mbe2hsHNb+oKNkHAKq CpJ5JUsGUah2zzNkxEMuQS588u83vqXtoCmHhA93XOIN5xmJAbxuqzO36bPPURmhom0B vuzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=Lr98G6vSnRzCRR+SntStJnuzsz1UirSAM/u5/IXUWFk=; b=Oc7K6uJuexY9NlE1FCh1VaJN6ZxIsjnquEtVKqo96QP0sjbghACyRBPSC8I3zQVFWS 5SbMnqS/B6X/9NQgdvMdsOyyxlvervT89DxmA1sfk6f5j3YF//TCN1Rl1QKj65S8sFQS JTL9OoOscI0e0GYTTn+iDiBWBhMR6Q1kPTdh5b+jsTGat2lIlr92f1DFUM0WzR6ktvHN AGlEIp7j/4obCtS9WijMd7TjyHpoK8cuxaz3ZIGxO6jH/wvXYvwkk6RMpBX1Rox0DURJ zxEIq4GZ06FNOSHQgltVyV6vqAIqnJCZc61lpjJa9UTcjxiWyuaULBvHlESSQeupclOq JKew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c1si1496261edy.360.2020.08.27.06.35.32; Thu, 27 Aug 2020 06:35:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728153AbgH0NcB (ORCPT + 99 others); Thu, 27 Aug 2020 09:32:01 -0400 Received: from mga09.intel.com ([134.134.136.24]:25468 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727950AbgH0N1e (ORCPT ); Thu, 27 Aug 2020 09:27:34 -0400 IronPort-SDR: EC8OmkCIwfxNKfw9D0RHo60DHh1GPwvg05GhC14E/KPgnzxqb7DrtkmP5u6yf51Kdq2VPbGzR9 O2M97k6wxHqg== X-IronPort-AV: E=McAfee;i="6000,8403,9725"; a="157502881" X-IronPort-AV: E=Sophos;i="5.76,359,1592895600"; d="scan'208";a="157502881" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Aug 2020 06:26:37 -0700 IronPort-SDR: WhNojoZRv8BDAJxuDmNLU0S7hnXhFGcA+TWKJCg3tQUQ8QuNIkOiuByoTG2QBFlrvxPdcMctXf yuseHTrVRqhw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,359,1592895600"; d="scan'208";a="282103688" Received: from tbeaumon-mobl3.ger.corp.intel.com (HELO localhost) ([10.252.55.254]) by fmsmga008.fm.intel.com with ESMTP; 27 Aug 2020 06:26:35 -0700 Date: Thu, 27 Aug 2020 16:26:34 +0300 From: Jarkko Sakkinen To: Denis Efremov Cc: David Howells , keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] security/keys: use kvfree_sensitive() Message-ID: <20200827132634.GB4674@linux.intel.com> References: <20200827072923.14718-1-efremov@linux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200827072923.14718-1-efremov@linux.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 27, 2020 at 10:29:23AM +0300, Denis Efremov wrote: > Use kvfree_sensitive() instead of open-coding it. > > Signed-off-by: Denis Efremov Reviewed-by: Jarkko Sakkinen /Jarkko