From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9F81C5B578 for ; Wed, 3 Jul 2019 23:23:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 90B8E218A0 for ; Wed, 3 Jul 2019 23:23:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727447AbfGCXXp (ORCPT ); Wed, 3 Jul 2019 19:23:45 -0400 Received: from mga09.intel.com ([134.134.136.24]:56198 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727126AbfGCXXp (ORCPT ); Wed, 3 Jul 2019 19:23:45 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jul 2019 16:23:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,448,1557212400"; d="scan'208";a="184874880" Received: from elsaidmo-mobl2.ger.corp.intel.com (HELO localhost) ([10.249.33.22]) by fmsmga001.fm.intel.com with ESMTP; 03 Jul 2019 16:23:39 -0700 Date: Thu, 4 Jul 2019 02:23:38 +0300 From: Jarkko Sakkinen To: Cedric Xing Cc: linux-sgx@vger.kernel.org, linux-security-module@vger.kernel.org, selinux@vger.kernel.org, casey.schaufler@intel.com, jmorris@namei.org, luto@kernel.org, jethro@fortanix.com, greg@enjellic.com, sds@tycho.nsa.gov, sean.j.christopherson@intel.com Subject: Re: [RFC PATCH v2 0/3] security/x86/sgx: SGX specific LSM hooks Message-ID: <20190703232338.ru3py25qirwagfr7@linux.intel.com> References: <20190619222401.14942-1-sean.j.christopherson@intel.com> <20190703231650.bhnkn34ccrzdwwhz@linux.intel.com> <20190703232221.l66lhmxhu2kmjcip@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190703232221.l66lhmxhu2kmjcip@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: NeoMutt/20180716 Sender: selinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux@vger.kernel.org On Thu, Jul 04, 2019 at 02:22:21AM +0300, Jarkko Sakkinen wrote: > > The eye should be on whether the uapi (e.g. device files, ioctl's) will > > work for LSM's in a legit way. Do we need more of these different > > flavors of experimental LSM changes or can we make some conclusions with > > the real issue we are trying to deal with? > > Anyway, sending v21 soonish. Finished it on Thu but have been waiting > any internal QA feedback. If nothing pops up, I'll send it tmrw. Ugh, the point I forgot to add was that it contains update to SGX_IOC_ENCLAVE_ADD_PAGE that is relevant for the discussion (probably the same as Sean proposed cannot recall if I did tuning to it). /Jarkko