From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Hansen Date: Mon, 10 Sep 2018 18:57:49 +0000 Subject: Re: [RFC 09/12] mm: Restrict memory encryption to anonymous VMA's Message-Id: <84154fd2-7c27-0fd2-f339-15e144a5df49@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit List-Id: References: In-Reply-To: To: "Sakkinen, Jarkko" , "tglx@linutronix.de" , "Schofield, Alison" , "dhowells@redhat.com" Cc: "Shutemov, Kirill" , "keyrings@vger.kernel.org" , "jmorris@namei.org" , "Huang, Kai" , "linux-mm@kvack.org" , "linux-security-module@vger.kernel.org" , "x86@kernel.org" , "hpa@zytor.com" , "mingo@redhat.com" , "Nakajima, Jun" On 09/10/2018 11:21 AM, Sakkinen, Jarkko wrote: >> +/* >> + * Encrypted mprotect is only supported on anonymous mappings. >> + * All VMA's in the requested range must be anonymous. If this >> + * test fails on any single VMA, the entire mprotect request fails. >> + */ > kdoc kdoc what? You want this comment in kdoc format? Why? From mboxrd@z Thu Jan 1 00:00:00 1970 From: dave.hansen@intel.com (Dave Hansen) Date: Mon, 10 Sep 2018 11:57:49 -0700 Subject: [RFC 09/12] mm: Restrict memory encryption to anonymous VMA's In-Reply-To: References: Message-ID: <84154fd2-7c27-0fd2-f339-15e144a5df49@intel.com> To: linux-security-module@vger.kernel.org List-Id: linux-security-module.vger.kernel.org On 09/10/2018 11:21 AM, Sakkinen, Jarkko wrote: >> +/* >> + * Encrypted mprotect is only supported on anonymous mappings. >> + * All VMA's in the requested range must be anonymous. If this >> + * test fails on any single VMA, the entire mprotect request fails. >> + */ > kdoc kdoc what? You want this comment in kdoc format? Why? From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by kanga.kvack.org (Postfix) with ESMTP id 047268E0001 for ; Mon, 10 Sep 2018 14:57:52 -0400 (EDT) Received: by mail-pg1-f200.google.com with SMTP id r2-v6so11125829pgp.3 for ; Mon, 10 Sep 2018 11:57:51 -0700 (PDT) Received: from mga14.intel.com (mga14.intel.com. [192.55.52.115]) by mx.google.com with ESMTPS id x4-v6si16168531plo.459.2018.09.10.11.57.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 11:57:50 -0700 (PDT) Subject: Re: [RFC 09/12] mm: Restrict memory encryption to anonymous VMA's References: From: Dave Hansen Message-ID: <84154fd2-7c27-0fd2-f339-15e144a5df49@intel.com> Date: Mon, 10 Sep 2018 11:57:49 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org List-ID: To: "Sakkinen, Jarkko" , "tglx@linutronix.de" , "Schofield, Alison" , "dhowells@redhat.com" Cc: "Shutemov, Kirill" , "keyrings@vger.kernel.org" , "jmorris@namei.org" , "Huang, Kai" , "linux-mm@kvack.org" , "linux-security-module@vger.kernel.org" , "x86@kernel.org" , "hpa@zytor.com" , "mingo@redhat.com" , "Nakajima, Jun" On 09/10/2018 11:21 AM, Sakkinen, Jarkko wrote: >> +/* >> + * Encrypted mprotect is only supported on anonymous mappings. >> + * All VMA's in the requested range must be anonymous. If this >> + * test fails on any single VMA, the entire mprotect request fails. >> + */ > kdoc kdoc what? You want this comment in kdoc format? Why?