You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by Yu Ding <no...@github.com.INVALID> on 2022/03/09 22:47:03 UTC

[apache/incubator-teaclave-sgx-sdk] [WIP] v2.0.0 (PR #374)

You can view, comment on, or merge this pull request online at:

  https://github.com/apache/incubator-teaclave-sgx-sdk/pull/374

-- Commit Summary --

  * v2.0.0-preview init
  * fix .gitignore
  * Update Readme.md

-- File Changes --

    M .gitignore (67)
    M LICENSE (40)
    A NOTICE (5)
    M README.md (334)
    D WORKSPACE (37)
    M buildenv.mk (38)
    D common/inc/complex.h (134)
    D common/inc/dirent.h (48)
    A common/inc/internal/arch.h (317)
    A common/inc/internal/cpuid.h (38)
    A common/inc/internal/cpuid_gnu.h (76)
    A common/inc/internal/inst.h (61)
    A common/inc/internal/metadata.h (211)
    A common/inc/internal/se_cdefs.h (96)
    A common/inc/internal/se_cpu_feature.h (47)
    A common/inc/internal/se_cpu_feature_defs.h (294)
    A common/inc/internal/se_cpu_feature_defs_ext.h (490)
    A common/inc/internal/se_types.h (93)
    A common/inc/internal/sgx_cet.h (70)
    A common/inc/internal/trts_inst.h (90)
    A common/inc/internal/tseal_migration_attr.h (53)
    A common/inc/internal/util.h (84)
    D common/inc/iso646.h (26)
    D common/inc/limits.h (41)
    D common/inc/math.h (430)
    D common/inc/netdb.h (41)
    D common/inc/poll.h (38)
    D common/inc/pwd.h (40)
    D common/inc/sched.h (62)
    D common/inc/setjmp.h (65)
    A common/inc/sgx.h (40)
    A common/inc/sgx_attributes.h (67)
    A common/inc/sgx_cpuid.h (57)
    A common/inc/sgx_dcap_key_exchange.h (77)
    A common/inc/sgx_dcap_tkey_exchange.h (209)
    A common/inc/sgx_dcap_tvl.h (93)
    A common/inc/sgx_defs.h (55)
    A common/inc/sgx_dh.h (196)
    A common/inc/sgx_ecp_types.h (60)
    A common/inc/sgx_edger8r.h (128)
    A common/inc/sgx_eid.h (39)
    A common/inc/sgx_error.h (127)
    A common/inc/sgx_intrin.h (64)
    A common/inc/sgx_key.h (97)
    A common/inc/sgx_key_exchange.h (89)
    A common/inc/sgx_lfence.h (47)
    A common/inc/sgx_pce.h (128)
    A common/inc/sgx_pcl_guid.h (63)
    A common/inc/sgx_ql_lib_common.h (210)
    A common/inc/sgx_ql_quote.h (84)
    A common/inc/sgx_quote.h (143)
    A common/inc/sgx_quote_3.h (193)
    A common/inc/sgx_qve_header.h (109)
    A common/inc/sgx_report.h (120)
    A common/inc/sgx_rsrv_mem_mngr.h (101)
    A common/inc/sgx_secure_align.h (154)
    A common/inc/sgx_secure_align_api.h (102)
    A common/inc/sgx_spinlock.h (53)
    A common/inc/sgx_tcrypto.h (1842)
    A common/inc/sgx_tkey_exchange.h (174)
    A common/inc/sgx_tprotected_fs.h (325)
    A common/inc/sgx_trts.h (98)
    A common/inc/sgx_trts_exception.h (151)
    A common/inc/sgx_tseal.h (259)
    A common/inc/sgx_ukey_exchange.h (342)
    A common/inc/sgx_urts.h (131)
    A common/inc/sgx_uswitchless.h (144)
    A common/inc/sgx_utils.h (110)
    D common/inc/signal.h (104)
    D common/inc/stdarg.h (48)
    D common/inc/stdio.h (95)
    D common/inc/stdlib.h (153)
    D common/inc/string.h (125)
    D common/inc/sys/_types.h (168)
    D common/inc/sys/cdefs.h (132)
    D common/inc/sys/epoll.h (42)
    D common/inc/sys/limits.h (77)
    D common/inc/sys/sockaddr.h (32)
    D common/inc/sys/socket.h (54)
    D common/inc/sys/stat.h (127)
    D common/inc/sys/struct_timespec.h (37)
    D common/inc/sys/types.h (129)
    D common/inc/sys/uio.h (35)
    D common/inc/time.h (105)
    R common/inc/tlibc/assert.h (0)
    A common/inc/tlibc/complex.h (134)
    R common/inc/tlibc/ctype.h (0)
    A common/inc/tlibc/dirent.h (75)
    R common/inc/tlibc/endian.h (0)
    R common/inc/tlibc/errno.h (0)
    A common/inc/tlibc/fcntl.h (73)
    A common/inc/tlibc/fenv.h (139)
    R common/inc/tlibc/float.h (0)
    R common/inc/tlibc/inttypes.h (0)
    A common/inc/tlibc/iso646.h (26)
    A common/inc/tlibc/limits.h (41)
    A common/inc/tlibc/math.h (430)
    R common/inc/tlibc/mbusafecrt.h (0)
    A common/inc/tlibc/netdb.h (53)
    A common/inc/tlibc/poll.h (47)
    A common/inc/tlibc/pthread.h (142)
    A common/inc/tlibc/pwd.h (42)
    A common/inc/tlibc/sched.h (71)
    A common/inc/tlibc/setjmp.h (65)
    A common/inc/tlibc/signal.h (124)
    A common/inc/tlibc/stdarg.h (48)
    R common/inc/tlibc/stdbool.h (0)
    R common/inc/tlibc/stddef.h (0)
    R common/inc/tlibc/stdint.h (0)
    A common/inc/tlibc/stdio.h (99)
    A common/inc/tlibc/stdlib.h (158)
    A common/inc/tlibc/string.h (125)
    A common/inc/tlibc/sys/_types.h (170)
    A common/inc/tlibc/sys/cdefs.h (132)
    R common/inc/tlibc/sys/endian.h (0)
    A common/inc/tlibc/sys/epoll.h (49)
    A common/inc/tlibc/sys/eventfd.h (39)
    A common/inc/tlibc/sys/fpu.h (99)
    R common/inc/tlibc/sys/ieee.h (0)
    A common/inc/tlibc/sys/ioctl.h (41)
    A common/inc/tlibc/sys/limits.h (77)
    A common/inc/tlibc/sys/prctl.h (38)
    A common/inc/tlibc/sys/random.h (43)
    A common/inc/tlibc/sys/sendfile.h (39)
    A common/inc/tlibc/sys/sockaddr.h (32)
    A common/inc/tlibc/sys/socket.h (89)
    A common/inc/tlibc/sys/stat.h (134)
    R common/inc/tlibc/sys/stdint.h (0)
    A common/inc/tlibc/sys/struct_timespec.h (37)
    A common/inc/tlibc/sys/syscall.h (398)
    A common/inc/tlibc/sys/types.h (141)
    A common/inc/tlibc/sys/uio.h (49)
    A common/inc/tlibc/time.h (115)
    A common/inc/tlibc/unistd.h (98)
    A common/inc/tlibc/wchar.h (143)
    R common/inc/tlibc/wctype.h (0)
    D common/inc/unistd.h (59)
    D common/inc/wchar.h (143)
    D dockerfile/02_binutils.sh (19)
    D dockerfile/03_sdk.sh (20)
    D dockerfile/04_psw.sh (32)
    D dockerfile/04_psw_rpm.sh (9)
    D dockerfile/05_rust.sh (8)
    D dockerfile/Dockerfile.1804.nightly (42)
    D dockerfile/Dockerfile.2004.nightly (45)
    D dockerfile/Dockerfile.centos8.nightly (34)
    D dockerfile/build.sh (19)
    D dockerfile/push.sh (22)
    D documents/README.md (32)
    D documents/debugging-a-local-rust-sgx-enclave-in-docker-with-sgx-gdb.md (236)
    D documents/developing-with-vscode.md (101)
    D documents/environment-setup.md (139)
    D documents/everything-about-cve-2020-5499.md (68)
    D documents/is_x86_feature_detected-in-sgx-sdk.md (99)
    D documents/mesa.png (0)
    D documents/mitigation-of-intel-sa-00219-in-rust-sgx.md (379)
    D documents/nbsp.pdf (0)
    D documents/performance-optimization-tips.md (52)
    D documents/public-cloud-for-rust-sgx-development.md (9)
    D documents/setup-gdb-7.11-on-ubuntu-18.04-for-vscode---sgx-gdb-remote-debugging.md (70)
    D documents/sgx_in_mesalock_linux.md (118)
    D documents/sgxtime.md (122)
    D documents/the-world-of-forked-crates.md (40)
    D documents/use-vscode---rls---rust-analysis---sgx-gdb-for-graphic-developing-(not-in-docker).md (81)
    D edl/inc/dirent.h (39)
    D edl/inc/stat.h (65)
    D edl/intel/sgx_dcap_tvl.edl (73)
    D edl/intel/sgx_pthread.edl (38)
    D edl/intel/sgx_tkey_exchange.edl (49)
    D edl/intel/sgx_tprotected_fs.edl (47)
    D edl/intel/sgx_tstdc.edl (48)
    D edl/intel/sgx_tswitchless.edl (39)
    D edl/sgx_asyncio.edl (33)
    D edl/sgx_backtrace.edl (31)
    D edl/sgx_env.edl (40)
    D edl/sgx_fd.edl (47)
    D edl/sgx_file.edl (63)
    D edl/sgx_fs.edl (31)
    D edl/sgx_mem.edl (40)
    D edl/sgx_net.edl (41)
    D edl/sgx_net_switchless.edl (92)
    D edl/sgx_pipe.edl (31)
    D edl/sgx_process.edl (28)
    D edl/sgx_signal.edl (43)
    D edl/sgx_socket.edl (111)
    D edl/sgx_stdio.edl (29)
    D edl/sgx_sys.edl (32)
    D edl/sgx_thread.edl (32)
    D edl/sgx_time.edl (29)
    D edl/sgx_tstd.edl (38)
    M licenses/LICENSE-common-inc.txt (325)
    A licenses/LICENSE-libbacktrace.txt (30)
    A licenses/LICENSE-libunwind.txt (6)
    A licenses/LICENSE-rust.txt (176)
    D licenses/LICENSE-samplecode-app.txt (28)
    D licenses/LICENSE-samplecode-remoteattestation.txt (21)
    A licenses/LICENSE-tcrypto.txt (277)
    A licenses/LICENSE-tlibc.txt (246)
    A licenses/LICENSE-tsafecrt.txt (21)
    D mesalock-rt/libprotobuf.so.9 (0)
    D mesalock-rt/libsgx_uae_service.so (0)
    D mesalock-rt/libsgx_urts.so (0)
    D mesalock-rt/libstdc++.so.6 (0)
    D mesalock-rt/libz.so.1 (0)
    D release_notes.md (0)
    M rust-toolchain (0)
    A rustlib/panic_abort/Cargo.toml (0)
    A rustlib/panic_abort/src/lib.rs (0)
    A rustlib/panic_unwind/Cargo.toml (0)
    R rustlib/panic_unwind/src/dwarf/eh.rs (0)
    R rustlib/panic_unwind/src/dwarf/mod.rs (0)
    R rustlib/panic_unwind/src/gcc.rs (0)
    A rustlib/panic_unwind/src/lib.rs (0)
    A rustlib/profiler_builtins/Cargo.toml (0)
    A rustlib/profiler_builtins/src/lib.rs (0)
    A rustlib/std/Cargo.toml (0)
    A rustlib/x86_64-unknown-linux-sgx.json (0)
    M samplecode/backtrace/Makefile (0)
    A samplecode/backtrace/app/Cargo.toml (0)
    D samplecode/backtrace/app/app.c (0)
    D samplecode/backtrace/app/app.h (0)
    A samplecode/backtrace/app/build.rs (0)
    A samplecode/backtrace/app/src/main.rs (0)
    D samplecode/backtrace/bin/readme.txt (0)
    M samplecode/backtrace/enclave/Cargo.toml (0)
    D samplecode/backtrace/enclave/Enclave.config.xml (0)
    D samplecode/backtrace/enclave/Enclave.edl (0)
    D samplecode/backtrace/enclave/Enclave.lds (0)
    D samplecode/backtrace/enclave/Makefile (0)
    M samplecode/backtrace/enclave/Xargo.toml (0)
    A samplecode/backtrace/enclave/config.xml (0)
    A samplecode/backtrace/enclave/enclave.edl (0)
    A samplecode/backtrace/enclave/enclave.lds (0)
    R samplecode/backtrace/enclave/private.pem (0)
    M samplecode/backtrace/enclave/src/lib.rs (0)
    D samplecode/backtrace/enclave/x86_64-unknown-linux-sgx.json (0)
    D samplecode/backtrace/lib/readme.txt (0)
    A samplecode/cov/Makefile (0)
    A samplecode/cov/Readme.md (0)
    A samplecode/cov/app/Cargo.toml (0)
    A samplecode/cov/app/build.rs (0)
    A samplecode/cov/app/src/main.rs (0)
    A samplecode/cov/enclave/Cargo.toml (0)
    A samplecode/cov/enclave/Xargo.toml (0)
    A samplecode/cov/enclave/config.xml (0)
    A samplecode/cov/enclave/cov-rustc (0)
    A samplecode/cov/enclave/enclave.edl (0)
    A samplecode/cov/enclave/enclave.lds (0)
    A samplecode/cov/enclave/llvm-gcov (0)
    R samplecode/cov/enclave/private.pem (0)
    A samplecode/cov/enclave/src/lib.rs (0)
    D samplecode/crypto/Makefile (0)
    D samplecode/crypto/app/app.c (0)
    D samplecode/crypto/app/app.h (0)
    D samplecode/crypto/bin/readme.txt (0)
    D samplecode/crypto/enclave/Cargo.toml (0)
    D samplecode/crypto/enclave/Enclave.config.xml (0)
    D samplecode/crypto/enclave/Enclave.edl (0)
    D samplecode/crypto/enclave/Enclave.lds (0)
    D samplecode/crypto/enclave/Makefile (0)
    D samplecode/crypto/enclave/Xargo.toml (0)
    D samplecode/crypto/enclave/src/lib.rs (0)
    D samplecode/crypto/enclave/x86_64-unknown-linux-sgx.json (0)
    D samplecode/crypto/lib/readme.txt (0)
    D samplecode/db-proxy/README.md (0)
    D samplecode/db-proxy/db-client/Cargo.toml (0)
    D samplecode/db-proxy/db-client/src/main.rs (0)
    D samplecode/db-proxy/db-proxy/Makefile (0)
    D samplecode/db-proxy/db-proxy/app/Cargo.toml (0)
    D samplecode/db-proxy/db-proxy/app/build.rs (0)
    D samplecode/db-proxy/db-proxy/app/src/main.rs (0)
    D samplecode/db-proxy/db-proxy/bin/.keep (0)
    D samplecode/db-proxy/db-proxy/enclave/Cargo.toml (0)
    D samplecode/db-proxy/db-proxy/enclave/Enclave.config.xml (0)
    D samplecode/db-proxy/db-proxy/enclave/Enclave.edl (0)
    D samplecode/db-proxy/db-proxy/enclave/Enclave.lds (0)
    D samplecode/db-proxy/db-proxy/enclave/Makefile (0)
    D samplecode/db-proxy/db-proxy/enclave/Xargo.toml (0)
    D samplecode/db-proxy/db-proxy/enclave/src/lib.rs (0)
    D samplecode/db-proxy/db-proxy/enclave/x86_64-unknown-linux-sgx.json (0)
    D samplecode/db-proxy/db-proxy/lib/readme.txt (0)
    D samplecode/db-proxy/db-server/.gitignore (0)
    D samplecode/db-proxy/db-server/Cargo.toml (0)
    D samplecode/db-proxy/db-server/src/client/mod.rs (0)
    D samplecode/db-proxy/db-server/src/main.rs (0)
    D samplecode/db-proxy/db-server/src/server/mod.rs (0)
    D samplecode/db-proxy/db-server/src/verifytree/mbtree.rs (0)
    D samplecode/db-proxy/db-server/src/verifytree/mod.rs (0)
    D samplecode/db-proxy/veritasdb.pdf (0)
    D samplecode/dcap-pckretrieval/Makefile (0)
    D samplecode/dcap-pckretrieval/Readme.md (0)
    D samplecode/dcap-pckretrieval/app/Cargo.toml (0)
    D samplecode/dcap-pckretrieval/app/build.rs (0)
    D samplecode/dcap-pckretrieval/app/src/main.rs (0)
    D samplecode/dcap-pckretrieval/bin/.gitkeep (0)
    D samplecode/dcap-pckretrieval/enclave/Cargo.toml (0)
    D samplecode/dcap-pckretrieval/enclave/Enclave.config.xml (0)
    D samplecode/dcap-pckretrieval/enclave/Enclave.edl (0)
    D samplecode/dcap-pckretrieval/enclave/Enclave.lds (0)
    D samplecode/dcap-pckretrieval/enclave/Enclave_private.pem (0)

-- Patch Links --

https://github.com/apache/incubator-teaclave-sgx-sdk/pull/374.patch
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/374.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/374
You are receiving this because you are subscribed to this thread.

Message ID: &lt;apache/incubator-teaclave-sgx-sdk/pull/374@github.com&gt;

Re: [apache/incubator-teaclave-sgx-sdk] [WIP] v2.0.0 (PR #374)

Posted by volcano <no...@github.com.INVALID>.
Cancle this PR

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/374#issuecomment-1207223284
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave-sgx-sdk] [WIP] v2.0.0 (PR #374)

Posted by volcano <no...@github.com.INVALID>.
Closed #374.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/374#event-7141018735
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave-sgx-sdk] [WIP] v2.0.0 (PR #374)

Posted by volcano <no...@github.com.INVALID>.
> Hello guys, find an additional `-` in tools/docker/04_psw.sh which will break the dockerfile build.
> 
> `libsgx-ae-id-enclave-=$SGX_DCAP_VERSION`

Thanks for reporting this issue.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/374#issuecomment-1162939683
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave-sgx-sdk] [WIP] v2.0.0 (PR #374)

Posted by Yin Jiaquan <no...@github.com.INVALID>.
Hello guys, find an additional `-` in tools/docker/04_psw.sh which will break the dockerfile build.

`libsgx-ae-id-enclave-=$SGX_DCAP_VERSION`

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/374#issuecomment-1161895011
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>