13 Commits
Author SHA1 Message Date
Don Porter f50fd7e5c8 A bit more work on documenting the PAL ABI 2019-11-11 14:08:22 -05:00
Don Porter 7910b10b67 Try adding a define to the documentation 2019-10-28 14:15:23 -04:00
Don Porter 5c2efaa3ae Start documenting the PAL ABI 2019-10-28 12:10:46 -04:00
Jia Zhang e9b988136d [Pal/Linux-SGX] Implement new manifest option sgx.file_check_policy
The new option specifies the file check policy, determining how and which files
can be opened. Previously, there were only two strict options: sgx.trusted_files
and sgx.allowed_files, but they are not flexible enough (e.g., unknown files are
never allowed).

This commit introduces two policies:
- allow_all_but_log allows files other than trusted/allowed files to be opened
  but outputs a warning message. This is a convenient way to debug applications.
- strict disallows all files other than trusted/allowed files (just like the
  previous logic).
2019-10-18 13:51:56 -07:00
Jia Zhang 1b8c2de9ce [Doc] Fix installation instructions for python3-protobuf for Graphene-SGX build 2019-10-17 12:24:03 -07:00
Chia-Che Tsai c8a352553b [Pal/Linux-SGX] Change manifest option sgx.enable_[avx|avx512|mpx] to sgx.require_[avx|avx512|mpx]
This commit allows setting the AVX, AVX512, and MPX bits in SIGSTRUCT.xfrms
dynamically unless the features are specifically enabled in the manifest via
sgx.require_[avx|avx512|mpx]=1 options. If the bits are set in SIGSTRUCT.xfrms
but the CPU feature(s) are not available on the platform, the enclave
initialization (EINIT) should fail. In addition, the xfrms and xfrmmask fields
in the EINITTOKEN must match with SIGSTRUCT.
2019-10-16 13:53:24 -07:00
Dmitrii Kuvaiskii 488ab93d56 [Documentation] Add entry on sgx.allow_file_creation to old Wiki 2019-10-10 16:12:04 -07:00
Simon Gaiser 2d29f7aaeb [Makefile] Drop SGX_RUN
For detection of SGX/non-SGX (for example in regression tests) always
use the SGX environment variable. To generate launch/EINIT tokens use
the new 'sgx-tokens' Make target.
2019-09-27 12:38:14 +02:00
borysp 9cd6b34747 [Pal] Change the way argv[0] is handled
Before argv[0] was treated specially and was changed to a value
from manifest file. Now this happens only if binary was run as
a manifest i.e. `./pal_loader path_to_manifest_file`.
2019-09-25 19:16:48 +02:00
Wojtek Porczyk 5e5d783c4c [Doc, Jenkins] Build documentation in Jenkins
Documentation is built as another pipeline to check for build failures.
The result is discarded.
2019-09-25 16:47:51 +02:00
Chia-Che Tsai 65159de310 [Doc] Clean up and update documentation migrated from the GitHub Wiki 2019-09-16 18:58:45 -07:00
Wojtek Porczyk 3928126a70 [Doc] Add Documentation/ stub 2019-08-21 18:30:16 +02:00
Wojtek Porczyk 24cba75bad [Doc] Import old wiki 2019-08-21 18:16:32 +02:00