<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Quote:Rodolfo S. wrote: in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Allocate-executable-memory/m-p/1106532#M1200</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Rodolfo S. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi, Francisco.&lt;/P&gt;

&lt;P&gt;Thanks for pointing this to me. That was precisely the information that I was seeking. I guess I'll just have to wait for SGX2 to be released or find a way to configure my pages to have RWX permission by default.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;Is there any possible way to configure the EPC pages with RWX permission in SGX1.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks :)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 21 May 2017 14:06:00 GMT</pubDate>
    <dc:creator>Shredha_K_</dc:creator>
    <dc:date>2017-05-21T14:06:00Z</dc:date>
    <item>
      <title>Allocate executable memory</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Allocate-executable-memory/m-p/1106527#M1195</link>
      <description>&lt;P&gt;Hi, everyone.&lt;/P&gt;

&lt;P&gt;Is it possible to allocate executable memory inside an enclave during run time (e.g.: using mmap)?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Rodolfo&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 15:19:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Allocate-executable-memory/m-p/1106527#M1195</guid>
      <dc:creator>Rodolfo_S_</dc:creator>
      <dc:date>2016-12-06T15:19:02Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Allocate-executable-memory/m-p/1106528#M1196</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Please refer the query from&amp;nbsp;&lt;A href="https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/675136"&gt;https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/675136&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;-Surenthar&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 11:50:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Allocate-executable-memory/m-p/1106528#M1196</guid>
      <dc:creator>Surenthar_S_Intel</dc:creator>
      <dc:date>2016-12-07T11:50:20Z</dc:date>
    </item>
    <item>
      <title>Hi, Surenthar.</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Allocate-executable-memory/m-p/1106529#M1197</link>
      <description>&lt;P&gt;Hi, Surenthar.&lt;/P&gt;

&lt;P&gt;That query actually doesn't answer my question. I should have stressed the word "&lt;STRONG&gt;executable&lt;/STRONG&gt;" in my question. I do know that an enclave can allocate memory using malloc, but my question is more specific. My question is: can I use the allocated memory to store executable code, and, furthermore, can I execute that code inside the enclave (no OCALLS/syscalls involved)?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Rodolfo&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 12:35:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Allocate-executable-memory/m-p/1106529#M1197</guid>
      <dc:creator>Rodolfo_S_</dc:creator>
      <dc:date>2016-12-07T12:35:37Z</dc:date>
    </item>
    <item>
      <title>I think the short answer is</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Allocate-executable-memory/m-p/1106530#M1198</link>
      <description>&lt;P&gt;I think the short answer is no.&lt;/P&gt;

&lt;P&gt;More details regarding a similar question (loader program in an enclave) are here:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/624878"&gt;https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/624878&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you are using Linux, then similar considerations apply to ELF .so files (instead of PE .dll files).&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 19:54:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Allocate-executable-memory/m-p/1106530#M1198</guid>
      <dc:creator>Francisco_C_Intel</dc:creator>
      <dc:date>2016-12-07T19:54:09Z</dc:date>
    </item>
    <item>
      <title>Hi, Francisco.</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Allocate-executable-memory/m-p/1106531#M1199</link>
      <description>&lt;P&gt;Hi, Francisco.&lt;/P&gt;

&lt;P&gt;Thanks for pointing this to me. That was precisely the information that I was seeking. I guess I'll just have to wait for SGX2 to be released or find a way to configure my pages to have RWX permission by default.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 20:30:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Allocate-executable-memory/m-p/1106531#M1199</guid>
      <dc:creator>Rodolfo_S_</dc:creator>
      <dc:date>2016-12-07T20:30:02Z</dc:date>
    </item>
    <item>
      <title>Quote:Rodolfo S. wrote:</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Allocate-executable-memory/m-p/1106532#M1200</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Rodolfo S. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi, Francisco.&lt;/P&gt;

&lt;P&gt;Thanks for pointing this to me. That was precisely the information that I was seeking. I guess I'll just have to wait for SGX2 to be released or find a way to configure my pages to have RWX permission by default.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;Is there any possible way to configure the EPC pages with RWX permission in SGX1.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks :)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 May 2017 14:06:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Allocate-executable-memory/m-p/1106532#M1200</guid>
      <dc:creator>Shredha_K_</dc:creator>
      <dc:date>2017-05-21T14:06:00Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Allocate-executable-memory/m-p/1106533#M1201</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;With SGX1 you cannot modify the permissions of an EPC&amp;nbsp;page after it has been EADD'ed.&amp;nbsp; Using the Intel(R) SGX SDK, the section in the .dll enclave file must be loaded with RWX permission in order to be both writable and executable.&amp;nbsp;&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;Note: Using RWX sections and dynamically loading code into an enclave may create security vulnerabilities.&amp;nbsp; It should be done with caution.&amp;nbsp; Section 10 of the&lt;A href="https://community.intel.com/legacyfs/online/drupal_files/managed/ae/48/Software-Guard-Extensions-Enclave-Writers-Guide.pdf"&gt;&amp;nbsp;Intel(R) SGX Enclave Writer's Guide&amp;nbsp;&lt;/A&gt;touches on some of the concerns.&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;-Surenthar&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 08:36:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Allocate-executable-memory/m-p/1106533#M1201</guid>
      <dc:creator>Surenthar_S_Intel</dc:creator>
      <dc:date>2017-05-22T08:36:50Z</dc:date>
    </item>
  </channel>
</rss>

