Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2584499yba; Mon, 22 Apr 2019 09:19:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqwysSEJJ7Vbda1Ay4x4DQIacIE8H4Kmotzp4JxLD7qZANXnsEUN5i6iwewtZlDvXdXJmlHz X-Received: by 2002:a65:5181:: with SMTP id h1mr20002343pgq.167.1555949967996; Mon, 22 Apr 2019 09:19:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555949967; cv=none; d=google.com; s=arc-20160816; b=wve+D2LXTy/tWM+m2iyfZlPKiJQf9sH0j+LgRjgySznplX6cBvfyA1//iVy27a/e+0 /OBByxyIjQ2nsZGzaSLd6sTupHbidX1a2Yxox8ozka54kr85ISoTq7wxEag2rTq52/CS V+l41t8YP1Mz9PZ7Qiqq4lRInGacpL4d4RmOqeRzxZBEdjUCJdvpRxJnMwB4t+IPYSsF alNoELYSIFg3WXC3bdZg0oUIfSJtTvK6JQwarRYJlGkWqUWQzSkNeIbsCzFvslh/zNHP trL+rImba73ZUqBgHIwxgDP6MtgyuV9PNsfFKtJvGdkJSU2VtS//7t8vY/wEnBubFWhT kzjQ== 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=CFywILB+lLkPtwWbUWE6koQN9IkVCeL0MDodO1wNgKY=; b=gdr+JM8J+KmbVyiNjHzIWUjPEIdI1mcnNGLcN1UibQqFxOr/CHSqbdUIe4PcOjzEgb tv3PB0iZa+3BG5pch5TsL/ADArlZ8hckti+593Xng9VfEDvIGiNy9ULsA/7us3tDG0Ph A98xULrs90xw20SEfzp7KRRiU8LM93sprx3P4kpM5V/PkngeN7E+LbtHrnkLqMJHEcnH tlTiKVwwTku6DkDb/JRpY+ckYyDz3nWzM24TZErodQEscNT8YFP6VGnmysQQLr4asoj3 S4VrR2CZyH+HTK7P7QmfieSPV9SaXKCtl7sjBTliBQ0y1Q/eQz8yk6gzgl3bB/z5xoX6 AJhw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f128si12573041pgc.473.2019.04.22.09.19.12; Mon, 22 Apr 2019 09:19:27 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727765AbfDVPBV (ORCPT + 99 others); Mon, 22 Apr 2019 11:01:21 -0400 Received: from mga18.intel.com ([134.134.136.126]:42394 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727401AbfDVPBU (ORCPT ); Mon, 22 Apr 2019 11:01:20 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Apr 2019 08:01:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,382,1549958400"; d="scan'208";a="317977763" Received: from sjchrist-coffee.jf.intel.com (HELO linux.intel.com) ([10.54.74.181]) by orsmga005.jf.intel.com with ESMTP; 22 Apr 2019 08:01:19 -0700 Date: Mon, 22 Apr 2019 08:01:19 -0700 From: Sean Christopherson To: "Dr. Greg" Cc: Thomas Gleixner , Jethro Beekman , Andy Lutomirski , Andy Lutomirski , Dave Hansen , Jarkko Sakkinen , Linus Torvalds , LKML , X86 ML , "linux-sgx@vger.kernel.org" , Andrew Morton , "nhorman@redhat.com" , "npmccallum@redhat.com" , "Ayoun, Serge" , "Katz-zamir, Shay" , "Huang, Haitao" , Andy Shevchenko , "Svahn, Kai" , Borislav Petkov , Josh Triplett , "Huang, Kai" , David Rientjes Subject: Re: [PATCH v20 00/28] Intel SGX1 support Message-ID: <20190422150119.GA1236@linux.intel.com> References: <2AE80EA3-799E-4808-BBE4-3872F425BCF8@amacapital.net> <49b28ca1-6e66-87d9-2202-84c58f13fb99@fortanix.com> <444537E3-4156-41FB-83CA-57C5B660523F@amacapital.net> <5854e66a-950e-1b12-5393-d9cdd15367dc@fortanix.com> <20190420160247.GA17291@wind.enjellic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190420160247.GA17291@wind.enjellic.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 20, 2019 at 11:02:47AM -0500, Dr. Greg wrote: > We understand and support the need for the LSM to trap these events, > but what does LSM provenance mean if the platform is compromised? > That is, technically, the target application for SGX technology. No, it's not. Protecting the kernel/platform from a malicious entity is outside the scope of SGX.