19 Commits
Author SHA1 Message Date
Dmitrii Kuvaiskii bdc955e561 [Docs,Pal/Linux-SGX] Improve build and documentation on ISGX_DRIVER_PATH 2021-02-01 04:58:13 -08:00
Michał Kowalczyk d457420adf [Docs] Add missing build dependencies 2021-02-01 02:36:59 +01:00
Dmitrii Kuvaiskii ef5259a86f [Docs,LibOS] Move helloworld example from native/ to regression/
Applications under native/ cannot be run after commit "Introduce one,
central manifest, zero-config children and constant MRENCLAVE". Instead
of fixing native/, this commit simply moves helloworld and all its
mentions under regression/.
2021-01-16 12:38:29 -08:00
Wojtek Porczyk 5a89720071 [Pal] Linux-SGX: remove sgx-driver submodule
And all mentions thereof.
2020-12-23 14:30:25 +01:00
Dmitrii Kuvaiskii 2093d64ce2 [Docs] Clean-up, unify and rearrange Graphene documentation 2020-08-13 14:48:36 -07:00
Dmitrii Kuvaiskii bb87e3cc03 [Docs,Pal/Linux-SGX] Allow to use the in-kernel SGX driver 2020-08-12 11:50:56 -07:00
Dmitrii Kuvaiskii 87891ce7ec [Pal/Linux-SGX] Allow starting enclave address space with non-zero
Previously, Graphene-SGX required vm.mmap_min_addr equal to 0x0 for
non-PIE executables (this is due to the SGX hardware requirement of
enclave base being aligned on enclave size, coupled with non-PIE
requirement of starting the code section at address 0x400000).
The legacy Intel SGX driver required a device-file-backed mmap
starting at address 0x0. The newer DCAP/in-kernel SGX drivers don't
require this, so Graphene-SGX can create the enclave at non-zero
starting address and deprecate the hack of vm.mmap_min_addr == 0x0.
2020-08-05 12:04:01 -07:00
Dmitrii Kuvaiskii b72786e9de [Docs] Add instructions to install Linux 5.7 with FSGSBASE patch 2020-06-25 23:32:05 +00:00
Michał Kowalczyk 288f8f0a92 [Examples] Remove LMbench
LMbench was causing a lot of problems in the past and we just noticed
another one (the last one from the list below), which broke the
camel's back :)

Some of the issues:
- Original mirrors are unstable.
- Its source is terrible.
- It's not portable (e.g. needs custom patches to run on Fedora).
- Runs for quite long in CI (a few minutes).
- The last update to the project was 15 years ago (13 on dev branch).
- It uses some features not implemented in Graphene
  (getrusage(RUSAGE_SELF, ...)) without checking for errors, which leads
  to reporting bogus times.
- Actually, it silently skips failures, because the command is piped to
  `tee` and then `tee`'s exit code is checked instead of the original
  command's.
2020-06-18 19:12:13 +02:00
Dmitrii Kuvaiskii 165e932144 [Pal/Linux-SGX] Add support for DCAP SGX driver versions 1.6+
The DCAP SGX driver v1.6+ closely follows the in-kernel SGX driver
v28+. This version changes the driver path to /dev/sgx/enclave and
changes argument struct of the SGX_IOC_ENCLAVE_ADD_PAGE ioctl.
2020-05-08 12:49:26 -07:00
Anjo Vahldiek-Oberwagner f33c368ef6 [Docs] Add prerequisite libcurl4-openssl-dev to Build and Quick Start docs 2020-05-01 16:49:19 +00:00
Michał Kowalczyk f07ff167fc [Docs] Clean up mentions of integration examples 2020-04-15 23:32:00 +02:00
Michał Kowalczyk 87f133f435 [Docs] Use auto-numbered lists in reST files 2020-04-15 23:32:00 +02:00
Michał Kowalczyk 4f6153b4cd [Docs] Mention that DCAP requires root 2020-04-15 23:32:00 +02:00
Chihyun SongandDmitrii Kuvaiskii b4d3cbccc6 [Pal/Linux-SGX] Add support for the DCAP SGX driver versions 1.5-
The DCAP SGX driver works with Flexible Launch Control (FLC) enabled
SGX processors. The FLC feature allows to use arbitrary non-Intel
Launch Enclaves and thus makes the EINITTOKEN struct unnecessary.
This commit skips the step of obtaining the EINITTOKEN struct from
the Launch enclave and instead allows to create a dummy token for
DCAP- and FLC-enabled SGX systems.

Co-authored-by: Dmitrii Kuvaiskii <dmitrii.kuvaiskii@intel.com>
2020-04-07 11:12:17 -07:00
Michał Kowalczyk 5cc0ae0c9e Clean up newly migrated apps and LTP 2020-03-30 21:10:41 +02:00
Wojtek Porczyk 68314acc86 [Docs] Rewrite index and README, reSTify oldwiki/Introduction-to-Graphene.md
This is a big rewrite of several introduction-level documents. There
were several copies of mostly the same information, but desynchronized
in time. Most of that was split between those files:
- README, now shortened and appropriate for GitHub landing
- index.rst (include README removed)
- building.rst

quickstart.rst was corrected according to building.rst
2020-03-22 00:20:21 +01:00
Wojtek Porczyk dc634a7c51 [Docs] reSTify oldwiki/Graphene-SGX-Quick-Start.md
Included into quickstart.rst.
2020-03-22 00:20:21 +01:00
Wojtek Porczyk 76af85e6b7 [Docs] reSTify oldwiki/Graphene-Quick-Start.md 2020-01-21 16:19:31 +01:00