<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/samples/nitro_enclaves/Makefile, branch v6.3</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>nitro_enclaves: Add sample for ioctl interface usage</title>
<updated>2020-09-22T11:58:41+00:00</updated>
<author>
<name>Andra Paraschiv</name>
<email>andraprs@amazon.com</email>
</author>
<published>2020-09-21T12:17:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=acc4229c39903dfaf97512f5738490d3bdafcd0a'/>
<id>acc4229c39903dfaf97512f5738490d3bdafcd0a</id>
<content type='text'>
Add a user space sample for the usage of the ioctl interface provided by
the Nitro Enclaves driver.

Changelog

v9 -&gt; v10

* Update commit message to include the changelog before the SoB tag(s).

v8 -&gt; v9

* No changes.

v7 -&gt; v8

* Track NE custom error codes for invalid page size, invalid flags and
  enclave CID.
* Update the heartbeat logic to have a listener fd first, then start the
  enclave and then accept connection to get the heartbeat.
* Update the reference link to the hugetlb documentation.

v6 -&gt; v7

* Track POLLNVAL as poll event in addition to POLLHUP.

v5 -&gt; v6

* Remove "rc" mentioning when printing errno string.
* Remove the ioctl to query API version.
* Include usage info for NUMA-aware hugetlb configuration.
* Update documentation to kernel-doc format.
* Add logic for enclave image loading.

v4 -&gt; v5

* Print enclave vCPU ids when they are created.
* Update logic to map the modified vCPU ioctl call.
* Add check for the path to the enclave image to be less than PATH_MAX.
* Update the ioctl calls error checking logic to match the NE specific
  error codes.

v3 -&gt; v4

* Update usage details to match the updates in v4.
* Update NE ioctl interface usage.

v2 -&gt; v3

* Remove the include directory to use the uapi from the kernel.
* Remove the GPL additional wording as SPDX-License-Identifier is
  already in place.

v1 -&gt; v2

* New in v2.

Reviewed-by: Alexander Graf &lt;graf@amazon.com&gt;
Signed-off-by: Alexandru Vasile &lt;lexnv@amazon.com&gt;
Signed-off-by: Andra Paraschiv &lt;andraprs@amazon.com&gt;
Link: https://lore.kernel.org/r/20200921121732.44291-17-andraprs@amazon.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a user space sample for the usage of the ioctl interface provided by
the Nitro Enclaves driver.

Changelog

v9 -&gt; v10

* Update commit message to include the changelog before the SoB tag(s).

v8 -&gt; v9

* No changes.

v7 -&gt; v8

* Track NE custom error codes for invalid page size, invalid flags and
  enclave CID.
* Update the heartbeat logic to have a listener fd first, then start the
  enclave and then accept connection to get the heartbeat.
* Update the reference link to the hugetlb documentation.

v6 -&gt; v7

* Track POLLNVAL as poll event in addition to POLLHUP.

v5 -&gt; v6

* Remove "rc" mentioning when printing errno string.
* Remove the ioctl to query API version.
* Include usage info for NUMA-aware hugetlb configuration.
* Update documentation to kernel-doc format.
* Add logic for enclave image loading.

v4 -&gt; v5

* Print enclave vCPU ids when they are created.
* Update logic to map the modified vCPU ioctl call.
* Add check for the path to the enclave image to be less than PATH_MAX.
* Update the ioctl calls error checking logic to match the NE specific
  error codes.

v3 -&gt; v4

* Update usage details to match the updates in v4.
* Update NE ioctl interface usage.

v2 -&gt; v3

* Remove the include directory to use the uapi from the kernel.
* Remove the GPL additional wording as SPDX-License-Identifier is
  already in place.

v1 -&gt; v2

* New in v2.

Reviewed-by: Alexander Graf &lt;graf@amazon.com&gt;
Signed-off-by: Alexandru Vasile &lt;lexnv@amazon.com&gt;
Signed-off-by: Andra Paraschiv &lt;andraprs@amazon.com&gt;
Link: https://lore.kernel.org/r/20200921121732.44291-17-andraprs@amazon.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
