Commit Graph

1393 Commits

Author SHA1 Message Date
Zheng, Qi
d4b762ebe5 [libos] Move runtime boot config to config.rs 2023-05-30 10:16:48 +08:00
Zheng, Qi
ac5d385747 Support passing user's envs for runtime boot case 2023-05-30 10:16:48 +08:00
Zheng, Qi
d864542c34 Use cargo intead of occlum-cargo for init build 2023-05-30 10:16:48 +08:00
Zheng, Qi
926d80430b [demo] Add runtime mount and boot occlum instance demo 2023-05-30 10:16:48 +08:00
Zheng, Qi
2347951743 Combine two config json files as one 2023-05-30 10:16:48 +08:00
Hui, Chunyang
0fef286df2 Refine poll handle negative poll_fds 2023-05-23 14:39:27 +08:00
Zheng, Qi
b89fa9dd5c [demos] Update sofaboot demo with glibc openjdk 8 2023-05-19 09:54:13 +08:00
Zheng, Qi
47b6a5d53e [etc] Add openjdk 8 glibc template yaml file 2023-05-19 09:54:13 +08:00
Hui, Chunyang
c05744b8d4 Fix poll misbehavior with negative pollfd value 2023-05-16 08:57:50 +08:00
Hui, Chunyang
d4b38f8ec0 [test] Fix false alarm for cpuid test
For new x86 processors, CPUID leaf 1FH is introduced as the
V2 Extended Topology Enumeration and is a prefered superset to leaf 0BH.

Add extra case to skip the EDX check because the corresponding value is
related with logical processor (x2APIC ID).
2023-05-10 15:34:38 +08:00
Zheng, Qi
14f2b948b9 [ci] Add anolis docker image build in ci 2023-05-09 09:55:15 +08:00
Zheng, Qi
84fde0e1e6 [dockerfile] Remove dockerfiles not supported 2023-05-09 09:55:15 +08:00
Zheng, Qi
c2ae7bdd99 [dockerfile] Add dockerfile for anolis8.8 2023-05-09 09:55:15 +08:00
Hui, Chunyang
0b0fed947c Fix wait4 failure of child process created with vfork 2023-04-27 13:12:38 +08:00
Zheng, Qi
0ba7f80b21 [demos] Get image key to buffer 2023-04-26 09:53:15 +08:00
Zheng, Qi
4cbf728910 [toolchain] Add get key to buffer API for grpc_ratls 2023-04-26 09:53:15 +08:00
Zheng, Qi
6f9ae75f96 [dockerfile] No need install python2 in Occlum dev docker image 2023-04-26 09:53:15 +08:00
Zheng, Qi
c615f5107d [Dockerfile] Add AECS client library into Occlum docker image 2023-04-26 09:53:15 +08:00
Zheng, Qi
13b8b0dca5 [toolchain] Add AECS client libaries build and install in toolchain 2023-04-26 09:53:15 +08:00
Zheng, Qi
b7c5e883d5 [dockerfile] Add grpc_ratls build and install in Occlum dockerfile 2023-04-26 09:53:15 +08:00
Zheng, Qi
1a50b8a66b [example] Update tf example with grpc ratls libs 2023-04-26 09:53:15 +08:00
Zheng, Qi
bfa204c295 [ra_tls] improve error handle 2023-04-26 09:53:15 +08:00
Zheng, Qi
c72a46bd41 [demos] Update init_ra demo with grpc ratls libs 2023-04-26 09:53:15 +08:00
Zheng, Qi
fa5dfc690d [toolchains] Add grpc ra_tls into toolchains 2023-04-26 09:53:15 +08:00
Zheng, Qi
7809658233 [toolchains] Do strip to reduce dcap library size 2023-04-26 09:53:15 +08:00
dependabot[bot]
c46c28ef8b Bump bumpalo
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.10.0 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.10.0...3.12.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump tokio

Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.19.2 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.19.2...tokio-1.25.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump tokio in /demos/remote_attestation/azure_attestation/maa_init/init

Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.20.0 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.20.0...tokio-1.25.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump openssl

Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.40 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.40...openssl-v0.10.48)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump openssl

Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.41 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.41...openssl-v0.10.48)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump tensorflow from 2.11 to 2.11.1 in /example/client

Bumps [tensorflow](https://github.com/tensorflow/tensorflow) from 2.11 to 2.11.1.
- [Release notes](https://github.com/tensorflow/tensorflow/releases)
- [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md)
- [Commits](https://github.com/tensorflow/tensorflow/compare/v2.11.0...v2.11.1)

---
updated-dependencies:
- dependency-name: tensorflow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Bump bumpalo

Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.10.0 to 3.12.1.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/commits)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-26 09:20:49 +08:00
LI Qing
634e9c3d68 Use the default poll implementation of INode 2023-04-21 13:32:23 +08:00
景涛
3e1ffd2b24 Signed-off-by: 景涛 <jingtao3@hust.edu.cn>
fix some typo error
2023-04-18 13:12:37 +08:00
envlearner
fca6164019 Fix some typo errors
including both doc/comment typo errors and code typo errors
2023-04-12 09:03:26 +08:00
envlearner
2b076b6928 Revert from the test commit 2023-04-12 09:03:26 +08:00
envlearner
5cb13bc95e This is a test only 2023-04-12 09:03:26 +08:00
Zheng, Qi
7181abd390 [demos] Specify the sgx/occlum apt packages version 2023-04-04 13:35:51 +08:00
Zheng, Qi
91dd93d9a4 [demos] Update tf serving example with resnet model 2023-04-04 13:35:51 +08:00
zhubojun
6cb368fbbe [libos] Retain red zone area and FLAGS unmodified across syscall
1. The previous implementation of __occlum_syret usse the red zone to
save the register temporarily, which may overwrite the red zone area.
This change avoids using the red zone when handling syscall.

2. Save and restore the FLAGS register before and after the operations
on PKRU to keep the FLAGS unmodified.
2023-03-31 12:35:13 +08:00
Shaowei Song
5a03deb6b9 [demos] Improve steps of dependency preinstall 2023-03-29 09:31:20 +08:00
Shaowei Song
4c407e8f67 [benchmark ci] Enable AsyncSFS+JinDisk test on branch 1.0.0-preview 2023-03-29 09:31:20 +08:00
sunhe05
2b98e1a076 Add PaddlePaddle demo 2023-03-22 10:34:57 +08:00
Zheng, Qi
79bbd2ad3e [libos] Print error sgx status when ocall failed 2023-03-21 15:08:49 +08:00
LI Qing
27a3c75209 [libos] Refine the getdents syscall. 2023-03-18 17:18:57 +08:00
Zheng, Qi
bc9e78b360 [demos] Use occlum provided libnss libraries for pytorch demo 2023-03-17 16:44:59 +08:00
Zheng, Qi
d89332cee8 [tools] Do the objcopy in the final destination libos lib 2023-03-17 16:44:59 +08:00
Zheng, Qi
046ee73756 [toolchain] Speed up glibc build 2023-03-17 16:44:59 +08:00
Hui, Chunyang
492814132a Fix potential server test failure
Due to scheduling, the client could attempt to connect to the server
before the server starts to accept. Make the client retry multiple
times before returning with error.
2023-03-17 14:47:22 +08:00
Hui, Chunyang
478d0d381f Add catch unwind for occlum_ecall_init 2023-03-16 18:43:31 +08:00
ClawSeven
04083cc200 [demos] Fix distributed pytorch panic 2023-03-16 10:28:03 +08:00
Zheng, Qi
745a7619c9 Modify the project license description 2023-03-15 16:08:41 +08:00
Zheng, Qi
e30a8a63e2 [glibc] No need build libcrypt from glibc 2023-03-08 09:51:23 +08:00
LI Qing
573ba85634 [libos] Fix the file closing issue in dup2/dup3 2023-03-07 14:20:29 +08:00
LI Qing
0ac398b635 Add support to statfs on hostfs 2023-03-04 21:08:17 +08:00
Zheng, Qi
2093b360d5 [ci] fix netty hw ci container name error 2023-03-03 14:33:14 +08:00