Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp2670978ybh; Mon, 5 Aug 2019 05:00:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqzHpKGogMbOgANropLeVf4z2Eb4boshkDemfDNhkhkbVGTGNSER5FgvKbKH1B9yjprilrVr X-Received: by 2002:a17:902:f301:: with SMTP id gb1mr141679351plb.292.1565006420766; Mon, 05 Aug 2019 05:00:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565006420; cv=none; d=google.com; s=arc-20160816; b=kew8J03vwM21c4czK0OIm8Q70ptHnxU5AAwwZ/H2LuaTSEBgjZIxnxR6dy0o4MlynV 9gJjxZ4wsYfGlP/Cv1vakfpn35eW8hByfA5Svhukx7bgr0NAJSaTmh4I9pET4y66M5ZG 508143PZfnGlBzZSn2MfJ1TQ5V+ldszxMrwI9gxmgvUnpvFaNNyy4dU/Mhf3TIpxWzhd K0qlazXkk7ESOYBHk1rZDK+Vlj/aCz27dbPhqVYInIa1KT0JOm9y7T6g2Yh0CmRYtWC2 KsPs7kkAYVwUkfjuK3rwwpNX/Wrd4XRMOoYNvWdb06X3D+GW7pRFk8dIPEC3YjNeaEhK NnnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=e8LeZYKHIbk2Da0fZqUR7a7Js8ma4FkwyhW8sZVdCZk=; b=kouMdm38KPKbIElOX+tRx1jHNRtbtWMZQk5TAjFc1F0o4wsHo6vi4S5TkSEyrC+W0f a8zmpfFc8VSnW2FJnpUKLJxhJ4iSOyZguvYd6ZuG0ruvq700sHKFLTo8X74AD26/Zdza fWhdsNCkKdTfu0Kb2U5oVOPrWUG7pKJ/zrtVtLcoZY2rwh1ZSmgkLMyM8lPECT1c+JYj SI6p4ykGSpgLDVqoU78H+00PolFkIdMzkLl3cT7oZmfEzd9MjsGEyfSCjiJ4tCnP0Exr PRTSl4PyIWR5mvrZLiffx7cXpRLuSd1dzsaCBtBPlibnGRoS+DLLjq5YjRu8Se9Fkadp gfAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hngqHboW; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 67si47586336pfv.74.2019.08.05.05.00.04; Mon, 05 Aug 2019 05:00:20 -0700 (PDT) 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=pass header.i=@gmail.com header.s=20161025 header.b=hngqHboW; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728674AbfHEL6m (ORCPT + 99 others); Mon, 5 Aug 2019 07:58:42 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:45992 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728513AbfHEL6j (ORCPT ); Mon, 5 Aug 2019 07:58:39 -0400 Received: by mail-qk1-f196.google.com with SMTP id s22so59866556qkj.12; Mon, 05 Aug 2019 04:58:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-disposition:in-reply-to:user-agent; bh=e8LeZYKHIbk2Da0fZqUR7a7Js8ma4FkwyhW8sZVdCZk=; b=hngqHboWeegeHkoet35hMfGDZ/a/9CNOIPPlA7NKG//W57AWG953gR+21a8vIOnq2N O0gY/5V/Q5CZoeXcwKWhnYHZmHPjIPfgIkS1CCntV3/YU320muttIZpPr7T73dzyk1eh J8mE0rX4SOvyBpv2kyOrHfn251KwfVS42gfdsBq2ouwztwzMpiiUaEfyj5TeLH2fWGkN 5HoRjM9ml34Tua73Y6ycsRF6u7bIqTtdkUcIwAlHJz9fMvtiARFg4/EEIVv3xGLVOxGl iVEyymREv3wB5kUc6CKPmRZoQQTpjQFt0L224wAgcxG3zATbmMyqyyyJRnhyA7k7657N T2EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=e8LeZYKHIbk2Da0fZqUR7a7Js8ma4FkwyhW8sZVdCZk=; b=uXjnn4IiVe+iUNP5vHI3r8WNR1Su5qVKbU13/jLTMxrd2Ax3qukIREE1fgS0PEoxeD 0FKGDGpu81vIc0AphomoMZAkxZwfEu6jH0U8pH6QbypzKD/yutfglBtiEoJnihzmuqqg cvcR1umJIKVnLXtaySjjCFF53DWxnzUoEJul/S7AiSCROR1pHNWYEEakyV7C2oKOWQbv ZyHyNfXXh5vv/gYH6w5qoeifI1ZxZ1UqdQkN9bk0hAp7NCduWF2wD2CA4XuwSLxf3COt Qmo1tQ3wjxoAkg/obWm7IutxdEE+tKujNoTLAqUyVmawjmoXRjSon48U7/2AY7YywmD/ +66Q== X-Gm-Message-State: APjAAAXSwGdcu3sKcWAMNXhYMo6tCxykn4KoKpwv40KeIMZS0Zj5Meik IoJ7CcFcBRgwup6a6q20vQ6+DHRUp5c= X-Received: by 2002:a05:620a:15a5:: with SMTP id f5mr100840063qkk.45.1565006317755; Mon, 05 Aug 2019 04:58:37 -0700 (PDT) Received: from localhost (tripoint.kitware.com. [66.194.253.20]) by smtp.gmail.com with ESMTPSA id o10sm40861276qti.62.2019.08.05.04.58.37 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 05 Aug 2019 04:58:37 -0700 (PDT) Date: Mon, 5 Aug 2019 07:58:37 -0400 From: Ben Boeckel To: "Kirill A. Shutemov" Cc: Andrew Morton , x86@kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Borislav Petkov , Peter Zijlstra , Andy Lutomirski , David Howells , Kees Cook , Dave Hansen , Kai Huang , Jacob Pan , Alison Schofield , linux-mm@kvack.org, kvm@vger.kernel.org, keyrings@vger.kernel.org, linux-kernel@vger.kernel.org, "Kirill A . Shutemov" Subject: Re: [PATCHv2 57/59] x86/mktme: Document the MKTME Key Service API Message-ID: <20190805115837.GB31656@rotor> Reply-To: mathstuf@gmail.com References: <20190731150813.26289-1-kirill.shutemov@linux.intel.com> <20190731150813.26289-58-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190731150813.26289-58-kirill.shutemov@linux.intel.com> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 31, 2019 at 18:08:11 +0300, Kirill A. Shutemov wrote: > + key = add_key("mktme", "name", "no-encrypt", strlen(options_CPU), > + KEY_SPEC_THREAD_KEYRING); Should this be `type=no-encrypt` here? Also, seems like copy/paste from the `type=cpu` case for the `strlen` call. --Ben