Files
wehub-resource-sync e0e362d700
SDK Tests / SDK CI (push) Blocked by required conditions
SDK Tests / changes (push) Successful in 2m29s
Real E2E Tests / changes (push) Successful in 2m29s
SDK Tests / Python SDK Tests (sandbox) (push) Waiting to run
SDK Tests / CLI Quality (push) Waiting to run
SDK Tests / CLI Tests (push) Waiting to run
SDK Tests / Python SDK Quality (code-interpreter) (push) Waiting to run
SDK Tests / Python SDK Quality (sandbox) (push) Waiting to run
SDK Tests / Python SDK Tests (code-interpreter) (push) Waiting to run
SDK Tests / JavaScript SDK Quality And Tests (code-interpreter) (push) Waiting to run
SDK Tests / JavaScript SDK Quality And Tests (sandbox) (push) Waiting to run
SDK Tests / Kotlin SDK Quality And Tests (sandbox) (push) Waiting to run
SDK Tests / Kotlin SDK Quality And Tests (code-interpreter) (push) Waiting to run
SDK Tests / C# SDK Quality And Tests (code-interpreter) (push) Waiting to run
SDK Tests / C# SDK Quality And Tests (sandbox) (push) Waiting to run
SDK Tests / Go SDK Quality And Tests (push) Waiting to run
Deploy Docs Pages / build (push) Has been cancelled
Deploy Docs Pages / deploy (push) Has been cancelled
Real E2E Tests / JavaScript E2E (docker bridge) (push) Has been cancelled
Real E2E Tests / Python E2E (docker bridge) (push) Has been cancelled
Real E2E Tests / Java E2E (docker bridge) (push) Has been cancelled
Real E2E Tests / C# E2E (docker bridge) (push) Has been cancelled
Real E2E Tests / Go E2E (docker bridge) (push) Has been cancelled
Real E2E Tests / Real E2E CI (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:39:33 +08:00

71 lines
2.2 KiB
TOML

# Isolation configuration for execd.
#
# Usage:
# execd --isolation-config /etc/execd/isolation.toml
# EXECD_ISOLATION_CONFIG=/etc/execd/isolation.toml execd
#
# All fields are optional. Missing fields use the defaults shown below.
# If no config file is specified, all built-in defaults are used.
# Parent directory for per-session overlay upper directories.
upper_root = "/var/lib/execd/isolation"
# Hard limit on total upper directory size across all sessions (bytes).
upper_max_bytes = 8589934592 # 8 GiB
# Maximum tar.gz diff output size (bytes). Phase 2.
diff_max_bytes = 4294967296 # 4 GiB
# Host paths callers may request via extra_writable or binds. Sources are
# enforced against the fully symlink-resolved real path; subpaths are allowed.
# NOTE: this key REPLACES the built-in default (no merge), so setting it here
# overrides the defaults below. Empty ([]) rejects all extra_writable/binds.
# Built-in default: ["/workspace", "/mnt", "/media", "/data"].
allowed_writable = ["/workspace", "/mnt", "/media", "/data"]
# Seccomp is ALWAYS ACTIVE by default — the built-in denylist blocks ~30
# dangerous syscalls (mount, ptrace, bpf, etc.) even without this section.
#
# Only add [seccomp] if you need to REPLACE the built-in denylist with a
# custom one. When present, deny COMPLETELY REPLACES the built-in list —
# no merging. Syscalls not present on the current architecture are silently
# skipped.
#
# Built-in default denylist for reference:
#
# [seccomp]
# deny = [
# # Filesystem manipulation
# "mount", "umount2", "chroot", "pivot_root",
#
# # Process introspection / manipulation
# "ptrace", "process_vm_readv", "process_vm_writev", "kcmp",
#
# # Kernel module loading
# "init_module", "finit_module", "delete_module",
#
# # BPF / seccomp manipulation
# "bpf", "seccomp",
#
# # Execution domain
# "personality",
#
# # Kernel key management
# "add_key", "request_key", "keyctl",
#
# # I/O privilege
# "iopl", "ioperm",
#
# # System state
# "reboot", "syslog", "swapon", "swapoff",
#
# # Namespace manipulation
# "setns", "unshare",
#
# # Handle-based operations
# "name_to_handle_at", "open_by_handle_at",
#
# # Other potentially dangerous
# "userfaultfd", "kexec_load", "kexec_file_load", "acct",
# ]