Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
c989ab2
Migrate filesystem clients to broker
wdcui Sep 8, 2026
d4651c1
Fix brokered runner CI tests
wdcui Sep 8, 2026
94cf578
Enable x18 rewriting in brokered test
wdcui Sep 8, 2026
feb275a
Move filesystem tests to their broker-core owners
wdcui Sep 9, 2026
1d28799
Decouple guest tests from broker authority
wdcui Sep 9, 2026
6decadb
Move file APIs onto LiteBox
wdcui Sep 9, 2026
3d8377a
Consolidate guest file module
wdcui Sep 9, 2026
f4e7b44
Reference broker files during operations
wdcui Sep 9, 2026
4ec7a9e
Share protocol file type
wdcui Sep 9, 2026
d581cfe
Use protocol filesystem value types
wdcui Sep 10, 2026
1ff3435
Share protocol filesystem metadata
wdcui Sep 10, 2026
13ec1b9
Use BrokerFile directly for file descriptors
wdcui Sep 10, 2026
4d260ef
Share protocol open options and normalized paths
wdcui Sep 10, 2026
2f436e2
Remove local file backend coupling
wdcui Sep 10, 2026
78e679c
Remove LiteBox filesystem facade tests
wdcui Sep 11, 2026
cc56269
Keep LiteBox ownership shim-local
wdcui Sep 11, 2026
b29fd41
Restore LiteBox clone layout
wdcui Sep 11, 2026
88c0af8
Simplify pipe nonblocking state
wdcui Sep 11, 2026
370abd6
Remove refactoring-only filesystem tests
wdcui Sep 11, 2026
181e32e
Minimize filesystem migration changes
wdcui Sep 11, 2026
8752589
Restore broker filesystem type names
wdcui Sep 11, 2026
1897c4c
Restore filesystem metadata field names
wdcui Sep 11, 2026
bc1218b
Restore filesystem type qualification
wdcui Sep 11, 2026
d2bdcd3
Preserve resolver seek arithmetic
wdcui Sep 11, 2026
0ee8901
Use resolver directly in filesystem tests
wdcui Sep 11, 2026
817c039
Share filesystem mode conversion
wdcui Sep 11, 2026
75bcb4f
Decouple broker filesystem from runner CLI
wdcui Sep 11, 2026
aaf09f9
Add Windows broker platform crate
wdcui Sep 11, 2026
f9bb88f
Allow Windows broker platform to use std
wdcui Sep 11, 2026
187417d
Share broker filesystem construction
wdcui Sep 11, 2026
f840666
Call shared broker filesystem builder directly
wdcui Sep 11, 2026
c56ff83
Gate host filesystem options to Linux
wdcui Sep 11, 2026
980d0c9
Move syscall rewriting to Linux runner
wdcui Sep 11, 2026
627c00b
Inline broker file service construction
wdcui Sep 12, 2026
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
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
# is the PR this job starts covering it.
AARCH64_CRATES: >-
-p litebox
-p litebox_broker_core
-p litebox_broker_userland
-p litebox_common_linux
-p litebox_egress_proxy
Expand Down Expand Up @@ -318,6 +319,9 @@ jobs:
# `std` access, since it owns hosted Linux broker resources such as
# sockets and the epoll reactor.
#
# - `litebox_broker_platform_windows_userland` is allowed to have
# `std` access, since it owns hosted Windows broker resources.
#
# - `litebox_broker_userland` is allowed to have `std` access,
# since it is the hosted userland broker executable.
#
Expand Down Expand Up @@ -387,6 +391,7 @@ jobs:
-not -path './Cargo.toml' \
-not -path './litebox_broker_local_userland/Cargo.toml' \
-not -path './litebox_broker_platform_linux_userland/Cargo.toml' \
-not -path './litebox_broker_platform_windows_userland/Cargo.toml' \
-not -path './litebox_broker_transport_linux_userland/Cargo.toml' \
-not -path './litebox_broker_transport_windows_userland/Cargo.toml' \
-not -path './litebox_broker_userland/Cargo.toml' \
Expand Down
34 changes: 18 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ members = [
"litebox_broker_local_userland",
"litebox_broker_core",
"litebox_broker_platform_linux_userland",
"litebox_broker_platform_windows_userland",
"litebox_broker_protocol",
"litebox_broker_host",
"litebox_broker_transport",
Expand Down Expand Up @@ -48,6 +49,7 @@ default-members = [
"litebox_broker_local_userland",
"litebox_broker_core",
"litebox_broker_platform_linux_userland",
"litebox_broker_platform_windows_userland",
"litebox_broker_protocol",
"litebox_broker_host",
"litebox_broker_transport",
Expand Down
2 changes: 2 additions & 0 deletions dev_bench/unixbench/run_unixbench.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ def run_litebox(

cmd = [
str(broker_path),
"--fs-initial-files", str(tar_path),
"--runner", str(runner_path),
"--env", "LD_LIBRARY_PATH=/lib64:/lib32:/lib",
"--env", "HOME=/",
Expand Down Expand Up @@ -491,6 +492,7 @@ def run_litebox_windows(
broker_path = runner_path.with_name("litebox-broker-userland.exe")
cmd = [
str(broker_path),
"--fs-initial-files", str(tar_path),
"--runner", str(runner_path),
"--env", "LD_LIBRARY_PATH=/lib64:/lib32:/lib",
"--env", "HOME=/",
Expand Down
2 changes: 1 addition & 1 deletion dev_tests/src/ratchet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ fn ratchet_globals() -> Result<()> {
("litebox_platform_windows_userland/", 8),
("litebox_runner_lvbs/", 6),
("litebox_runner_snp/", 2),
("litebox_shim_linux/", 2),
("litebox_shim_linux/", 1),
("litebox_shim_optee/", 6),
("litebox_shim_windows/", 1),
("litebox_runner_windows_userland/", 2),
Expand Down
4 changes: 0 additions & 4 deletions litebox/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ buddy_system_allocator = { version = "0.11.0", default-features = false, feature
# Depend on (currently unreleased) slabmalloc `main`, which contains some fixes on top of `0.11.0`
slabmalloc = { git = "https://github.com/gz/rust-slabmalloc.git", rev = "19480b2e82704210abafe575fb9699184c1be110" }
litebox_util_log = { version = "0.1.0", path = "../litebox_util_log" }
litebox_broker_core = { version = "0.1.0", path = "../litebox_broker_core" }
litebox_broker_local = { version = "0.1.0", path = "../litebox_broker_local" }
litebox_broker_protocol = { version = "0.1.0", path = "../litebox_broker_protocol" }
litebox_broker_transport = { version = "0.1.0", path = "../litebox_broker_transport" }
Expand All @@ -37,6 +36,3 @@ enforce_singleton_litebox_instance = []

[lints]
workspace = true

[dev-dependencies]
tempfile = "3"
Loading