Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement side task #483

Merged
merged 27 commits into from
Sep 23, 2021
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
703f6af
pRuntime: Give each thread a name
kvinwang Sep 15, 2021
e45495e
phactory-api: Remove default feature pruntime-client
kvinwang Sep 15, 2021
94d9c50
enclave: More libc hacks to support async IO
kvinwang Sep 17, 2021
8b9e513
enclave-async: Use patched crates to run in sgx
kvinwang Sep 17, 2021
d993ce7
enclave: Add async executor&reactor thread
kvinwang Sep 18, 2021
a232523
Add a TODO comment
kvinwang Sep 18, 2021
ad25608
enclave: cargo fmt
kvinwang Sep 18, 2021
32bd2d1
phactory: add and impl AsyncSpawn for SgxPlatform
kvinwang Sep 18, 2021
f5d929e
enclave: Patch parking_lot and more
kvinwang Sep 18, 2021
54cb2dd
pruntime: Move binary checking scripts
kvinwang Sep 21, 2021
7bece3a
pruntime: Check unsupported syscalls
kvinwang Sep 21, 2021
d420997
phactory: Implement SideTask framework
kvinwang Sep 22, 2021
0a7a949
async enclave: Delay one second to avoid net storm
kvinwang Sep 22, 2021
3587836
Revert "async enclave: Delay one second to avoid net storm"
kvinwang Sep 22, 2021
588bea6
fixup
kvinwang Sep 22, 2021
3a39aa0
pruntime: Better async executor implementation
kvinwang Sep 22, 2021
f3be625
phactory: Add SideTaskManager
kvinwang Sep 22, 2021
c0a0f0b
phactory: Refactor sidetask & add async_side_task
kvinwang Sep 22, 2021
fbd2f1c
Update Cargo.lock
kvinwang Sep 22, 2021
28b48b7
phactory: Add running_side_tasks in get_info
kvinwang Sep 22, 2021
0c3ea04
Merge remote-tracking branch 'pha/master' into side-task
kvinwang Sep 22, 2021
51d7aa1
gk: Fix unittest compile errr
kvinwang Sep 22, 2021
5bf7ec6
side-task: Add a must_use hint
kvinwang Sep 22, 2021
002ef07
Use rizin instead of radare2
kvinwang Sep 22, 2021
8e0eee3
side-task: Add some doc comment
kvinwang Sep 23, 2021
82f75b2
pruntime: Turn off build time syscall check by default
kvinwang Sep 23, 2021
613c06d
Add some comment
kvinwang Sep 23, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/install_toolchain/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ runs:
shell: bash
- run: chmod +x ./sgx_linux_x64_sdk_2.14.100.2.bin && echo -e 'no\n/opt/intel' | sudo ./sgx_linux_x64_sdk_2.14.100.2.bin
shell: bash
- run: sudo pip install rust_demangler
- run: sudo pip install rust_demangler meson ninja
shell: bash
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "cryptocorrosion-sgx"]
path = cryptocorrosion-sgx
url = https://github.com/Phala-Network/cryptocorrosion-sgx.git
[submodule "standalone/pruntime/rizin"]
path = standalone/pruntime/rizin
url = https://github.com/rizinorg/rizin
Loading