Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2774350imu; Sun, 9 Dec 2018 09:02:29 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xho6WcyUZRfSSY0Qx8LPzPnidX2L1u5FInkOKN3xQOlmr/c9sUYIK2JJ2HNNLDpQqZw4TP X-Received: by 2002:a65:564b:: with SMTP id m11mr7969000pgs.216.1544374949353; Sun, 09 Dec 2018 09:02:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544374949; cv=none; d=google.com; s=arc-20160816; b=otWajAefU+katUb1wFM6SfU4+6WSrXKxqTEYhvA7rPv15LpSW6jM97R8Jzq6sN6kZu vRhXn583zEmUxwSYJNXJ/M1ffJa9xWBeT89J7f58DWaKnNOz2Dj7lQXEN3Bs4j3IM+Hw U9Wn52jpTsTZJBKsYHCefQhVgos4XU35ent/+Y/CHIBskLacklQVA4d+elQIm7w2NH9E 8ojUtkU3pEXMLijmIZZAtWankkUoYEuvximRH9gsMHvoFg8O2LCDmQH4c1NcuNy6eXHz 5XBinMfwCQjJqmt5C+nlObQrA5KhEyGe6dQCjhHu50dZWIjvNkp7MMbm9Vd/xy8YnF6Q sTKA== 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:message-id:subject:cc :to:from:date; bh=MhvNLd4DHxMn59rklgjYHF+/JoMDLTc68wPbyar9bt4=; b=DGKMfccrGBwUkdPnXydwhYwpwR1YS1ntxXvhe9dI6zeT7i8Ly6hHXdVTkM2OJOtUeA T0e8XC2l2NeJericVYBVqgKPMqtAJbTTKJ+T6ejwaKeXdaKPsM5+B3ryGwKzk2wzSt4K N82/tuMg1HdeBb67CKChw4yrtjasntWPxeeOahWRHHhrn9tf6chHhFgol0xcYnYkechM 69m4XuuJ9mm163DHwRux718W+cCBvgBfC/xxcNZOOj9GrkZHsSJbiCUM8zv9YHHxvLmo bCNPvs7wWLLISEH4RiZnHcIH8mxO6rLCZsruHJhVKGX2cZr7S7n5OASSkiIC7P/Xgm+1 3h5Q== ARC-Authentication-Results: i=1; mx.google.com; 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 i6si7931827plt.290.2018.12.09.09.02.07; Sun, 09 Dec 2018 09:02:29 -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; 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 S1726132AbeLIRBN (ORCPT + 99 others); Sun, 9 Dec 2018 12:01:13 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:35085 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726078AbeLIRBM (ORCPT ); Sun, 9 Dec 2018 12:01:12 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 9D31380734; Sun, 9 Dec 2018 18:01:06 +0100 (CET) Date: Sun, 9 Dec 2018 18:01:09 +0100 From: Pavel Machek To: Andy Lutomirski Cc: Jarkko Sakkinen , X86 ML , Platform Driver , linux-sgx@vger.kernel.org, Dave Hansen , "Christopherson, Sean J" , nhorman@redhat.com, npmccallum@redhat.com, "Ayoun, Serge" , shay.katz-zamir@intel.com, haitao.huang@linux.intel.com, Andy Shevchenko , Thomas Gleixner , "Svahn, Kai" , mark.shanahan@intel.com, Suresh Siddha , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Darren Hart , andy@infradead.org, LKML Subject: Re: [PATCH v17 18/23] platform/x86: Intel SGX driver Message-ID: <20181209170109.amb7h3lfe7dlfabn@devuan> References: <20181116010412.23967-1-jarkko.sakkinen@linux.intel.com> <20181116010412.23967-19-jarkko.sakkinen@linux.intel.com> <20181119161917.GF13298@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > There would be three types of users: > > > > 1. Ones that have access to neither of the devices. > > 2. Ones that have access to unprivileged. Who are these? > > Either 0666 (world) or an sgx group. Sgx group, please. Or even better, what is generic term for sgx? We probably want to use that, as sgx is likely trademarked and certainly Intelism. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html