MCPcopy Create free account

hub / github.com/NVIDIA/OpenShell / functions

Functions9,017 in github.com/NVIDIA/OpenShell

↓ 1 callersMethodbind_tcp_in_netns
Bind a TCP listener inside this network namespace on a dedicated thread. Spawns a short-lived OS thread that enters the namespace via `setns`, binds
crates/openshell-supervisor-process/src/netns/mod.rs:351
↓ 1 callersFunctionbodyText
(req)
examples/spiffe-token-grant-demo/k8s/token-issuer.js:129
↓ 1 callersFunctionbody_looks_like_auth_error
Whether an upstream error body reads as an authentication or authorization failure. Some OpenAI-compatible providers return these as HTTP 400/404/422
crates/openshell-router/src/backend.rs:627
↓ 1 callersMethodbootstrap_image_ref
(&self, sandbox_image_ref: &str)
crates/openshell-driver-vm/src/driver.rs:1719
↓ 1 callersFunctionbridge_forward_tcp_stream
( mut inbound: tonic::Streaming<TcpForwardFrame>, relay_stream: tokio::io::DuplexStream, tx: mpsc:
crates/openshell-server/src/grpc/sandbox.rs:1149
↓ 1 callersMethodbridge_token_valid
(self)
e2e/mcp-conformance/host-bridge.py:120
↓ 1 callersFunctionbrowser_context_allows_plaintext_service_request
(req: &Request)
crates/openshell-server/src/http.rs:232
↓ 1 callersMethodbuild
(&mut self)
crates/openshell-prover/src/model.rs:88
↓ 1 callersMethodbuild
(self)
crates/openshell-ocsf/src/builders/config.rs:67
↓ 1 callersMethodbuild
(self)
crates/openshell-ocsf/src/builders/base.rs:48
↓ 1 callersMethodbuild
(self)
crates/openshell-ocsf/src/builders/network.rs:95
↓ 1 callersMethodbuild
(self)
crates/openshell-ocsf/src/builders/lifecycle.rs:34
↓ 1 callersMethodbuild
(self)
crates/openshell-ocsf/src/builders/finding.rs:106
↓ 1 callersFunctionbuild_authenticator_chain
Assemble the authenticator chain for the gateway. Chain order (first-match-wins): 1. `K8sServiceAccountAuthenticator` (path-scoped to `IssueSandboxTo
crates/openshell-server/src/multiplex.rs:448
↓ 1 callersFunctionbuild_backend_url
(endpoint: &str, path: &str)
crates/openshell-router/src/backend.rs:811
↓ 1 callersMethodbuild_cached_local_image_rootfs_image
( &self, sandbox_id: &str, docker: &Docker, image_ref: &str, image_ide
crates/openshell-driver-vm/src/driver.rs:2539
↓ 1 callersMethodbuild_cached_registry_image_rootfs_image
( &self, sandbox_id: &str, client: &OciClient, reference: &Reference,
crates/openshell-driver-vm/src/driver.rs:2667
↓ 1 callersFunctionbuild_canonical_path
( segments: &[Vec<u8>], _trailing_slash_hint: bool, opts: CanonicalizeOptions, )
crates/openshell-supervisor-network/src/l7/path.rs:267
↓ 1 callersFunctionbuild_cluster_inference_config
( provider: &Provider, model_id: &str, timeout_secs: u64, )
crates/openshell-server/src/inference.rs:243
↓ 1 callersFunctionbuild_compute_runtime
( config: &Config, driver_startup: compute::driver_config::DriverStartupContext<'_>, store: Arc<St
crates/openshell-server/src/lib.rs:730
↓ 1 callersFunctionbuild_container_spec_with_token
( sandbox: &DriverSandbox, config: &PodmanComputeConfig, token_host_path: Option<&Path>, )
crates/openshell-driver-podman/src/container.rs:773
↓ 1 callersFunctionbuild_credential_set_for_sandbox
Build a `CredentialSet` for the sandbox by walking its attached providers. v1 models "credential is present in scope for these hosts" — no scope mode
crates/openshell-server/src/grpc/policy.rs:520
↓ 1 callersFunctionbuild_env
Merge environment variables from user spec/template with required driver vars. User-supplied vars are inserted first so that the required driver vars
crates/openshell-driver-podman/src/container.rs:331
↓ 1 callersFunctionbuild_env_list
( existing_env: Option<&Vec<serde_json::Value>>, template_environment: &std::collections::HashMap<Stri
crates/openshell-driver-kubernetes/src/driver.rs:1951
↓ 1 callersFunctionbuild_from_dockerfile
Build a Dockerfile and return the local Docker tag. Package-managed local gateways use the same Docker daemon that the CLI builds into, so the tag is
crates/openshell-cli/src/run.rs:2502
↓ 1 callersFunctionbuild_image
Build a container image using the local Docker daemon. Creates a tar archive of `context_dir`, sends it to Docker with the specified Dockerfile path
crates/openshell-bootstrap/src/build.rs:168
↓ 1 callersFunctionbuild_l7_rules
Build L7 allow-rules from observed (method, path) samples. Groups paths by HTTP method and generalises path patterns where possible: - `/v1/models/ab
crates/openshell-sandbox/src/mechanistic_mapper.rs:337
↓ 1 callersFunctionbuild_labels
Merge labels from the sandbox template with required managed labels. User-supplied labels are inserted first so that the managed labels always win --
crates/openshell-driver-podman/src/container.rs:433
↓ 1 callersFunctionbuild_local_image
( dockerfile_path: &Path, tag: &str, context_dir: &Path, build_args: &HashMap<String, String>,
crates/openshell-bootstrap/src/build.rs:148
↓ 1 callersFunctionbuild_mtls_channel
Build a gRPC channel using mTLS client certificates.
crates/openshell-tui/src/lib.rs:566
↓ 1 callersFunctionbuild_oidc_channel
Build an HTTPS channel for OIDC-authenticated gateways. Tries mTLS client certs for the transport layer when available (the server may still require
crates/openshell-tui/src/lib.rs:531
↓ 1 callersFunctionbuild_parser
()
tasks/scripts/release.py:400
↓ 1 callersFunctionbuild_plain_channel
Build the plain (un-intercepted) gRPC channel. When the endpoint uses `https://`, mTLS is configured using these env vars: - `OPENSHELL_TLS_CA` -- pa
crates/openshell-core/src/grpc_client.rs:134
↓ 1 callersFunctionbuild_platform_resources_config
( resources: &Option<prost_types::Struct>, )
crates/openshell-server/src/compute/mod.rs:1740
↓ 1 callersFunctionbuild_resource_limits
Parse resource limits from the sandbox template, falling back to defaults.
crates/openshell-driver-podman/src/container.rs:452
↓ 1 callersFunctionbuild_rustls_config
(materials: &TlsMaterials)
crates/openshell-cli/src/tls.rs:203
↓ 1 callersFunctionbuild_sandbox_notes
Build notes string for a sandbox based on active forwards. Returns a string like `fwd:8080,3000` or an empty string if no forwards are active for the
crates/openshell-core/src/forward.rs:918
↓ 1 callersFunctionbuild_vm_launch_config
(args: &Args)
crates/openshell-driver-vm/src/main.rs:467
↓ 1 callersFunctionbuild_ws_text_frame
Build a masked WebSocket text frame (client -> server must be masked per RFC 6455).
crates/openshell-supervisor-network/tests/websocket_upgrade.rs:81
↓ 1 callersFunctionbuild_ws_upgrade_request
Build raw HTTP upgrade request bytes (mimics the reproduction script from #652).
crates/openshell-supervisor-network/tests/websocket_upgrade.rs:67
↓ 1 callersFunctionbuiltin_compute_driver
(name: &str)
crates/openshell-server/src/lib.rs:879
↓ 1 callersFunctionbypass_attempt_script
Python script that attempts a raw TCP connect bypassing the proxy. `socket.connect()` does not honor HTTP_PROXY — it goes directly through the kernel
e2e/rust/tests/bypass_detection.rs:25
↓ 1 callersFunctioncall
()
deploy/sbom/resolve_licenses_test.py:22
↓ 1 callersMethodcan_exfil_via_endpoint
Build a Z3 expression for whether data can be exfiltrated via this path.
crates/openshell-prover/src/model.rs:329
↓ 1 callersMethodcapabilities
Report driver capabilities.
crates/openshell-driver-podman/src/driver.rs:339
↓ 1 callersMethodcapabilities
(&self)
crates/openshell-driver-docker/src/lib.rs:449
↓ 1 callersMethodcapabilities
(&self)
crates/openshell-driver-vm/src/driver.rs:490
↓ 1 callersMethodcapabilities
(&self)
crates/openshell-driver-kubernetes/src/driver.rs:253
↓ 1 callersFunctioncdi_device_typo_config
(device_ids: &[&str])
crates/openshell-driver-podman/src/container.rs:1755
↓ 1 callersFunctioncdi_device_typo_config
(device_ids: &[&str])
crates/openshell-driver-docker/src/tests.rs:56
↓ 1 callersFunctioncdi_devices_config
(device_ids: &[&str])
crates/openshell-driver-podman/src/driver.rs:871
↓ 1 callersFunctioncheck_credential_safety
Run all four formal queries against the model and emit one finding per category that has at least one path. We deliberately do NOT gate on `filesyste
crates/openshell-prover/src/queries.rs:76
↓ 1 callersFunctioncheck_gpu_privileges
()
crates/openshell-driver-vm/src/driver.rs:3126
↓ 1 callersFunctioncheck_runtime_pid_limit
(mode: RuntimePidLimitMode)
crates/openshell-supervisor-process/src/process.rs:99
↓ 1 callersMethodcheck_sat
Check satisfiability of an expression against the base constraints.
crates/openshell-prover/src/model.rs:376
↓ 1 callersMethodcheck_scope
(&self, identity: &Identity, method: &str)
crates/openshell-server/src/auth/authz.rs:106
↓ 1 callersFunctioncheck_subuid_range
Check whether the current user has subuid/subgid ranges configured. Rootless Podman requires entries in `/etc/subuid` and `/etc/subgid` for the runni
crates/openshell-driver-podman/src/driver.rs:825
↓ 1 callersFunctioncivil_from_days
Convert days since 1970-01-01 to (year, month, day). Algorithm from Howard Hinnant's `chrono`-compatible date library.
crates/openshell-cli/src/run.rs:199
↓ 1 callersFunctionclamp_log_level
(level: u32)
crates/openshell-driver-vm/src/runtime.rs:966
↓ 1 callersFunctionclamped_scroll
Compute a new scroll position after applying `delta`, clamped so the last viewport of content remains visible. `current` - current scroll offset `del
crates/openshell-tui/src/app.rs:2820
↓ 1 callersFunctionclassify_connection_protocol
(stream: &TcpStream)
crates/openshell-server/src/lib.rs:570
↓ 1 callersFunctionclassify_document
( query: &str, operation_name: Option<&str>, )
crates/openshell-supervisor-network/src/l7/graphql.rs:196
↓ 1 callersFunctionclassify_get
(request: &L7Request)
crates/openshell-supervisor-network/src/l7/graphql.rs:105
↓ 1 callersFunctionclassify_initial_bytes
(prefix: &[u8])
crates/openshell-server/src/lib.rs:576
↓ 1 callersFunctionclassify_io_error
Classify a `std::io::Error` into a human-readable reason string.
crates/openshell-supervisor-process/src/sandbox/linux/landlock.rs:395
↓ 1 callersFunctionclassify_json_envelope_value
(value: &Value)
crates/openshell-supervisor-network/src/l7/graphql.rs:81
↓ 1 callersFunctionclassify_path_fd_error
Classify a [`PathFdError`] into a human-readable reason. `PathFd::new()` wraps `open(path, O_PATH | O_CLOEXEC)` which can fail for several reasons be
crates/openshell-supervisor-process/src/sandbox/linux/landlock.rs:386
↓ 1 callersFunctionclassify_post
(body: &[u8])
crates/openshell-supervisor-network/src/l7/graphql.rs:120
↓ 1 callersFunctionclassify_request_inner
( request: &L7Request, body: &[u8], )
crates/openshell-supervisor-network/src/l7/graphql.rs:94
↓ 1 callersFunctionclassify_tunnel_protocol
(peek: &[u8])
crates/openshell-supervisor-network/src/proxy.rs:364
↓ 1 callersFunctioncleanup_gvproxy
(mut guard: Option<GvproxyGuard>)
crates/openshell-driver-vm/src/runtime.rs:1355
↓ 1 callersFunctioncleanup_old_versions
(current_dir: &Path)
crates/openshell-driver-vm/src/embedded_runtime.rs:158
↓ 1 callersMethodcleanup_on_shutdown
(&self)
crates/openshell-server/src/compute/mod.rs:70
↓ 1 callersMethodcleanup_sandbox_ssh_sessions
(&self, sandbox_id: &str)
crates/openshell-server/src/compute/mod.rs:1390
↓ 1 callersMethodclear
(&mut self)
crates/openshell-vfio/src/bind.rs:309
↓ 1 callersFunctionclear_active_gateway
Remove the active gateway file (used when destroying the active gateway).
crates/openshell-bootstrap/src/metadata.rs:391
↓ 1 callersFunctionclear_directory_contents
(dir: &Path)
crates/openshell-driver-vm/src/driver.rs:3940
↓ 1 callersMethodclear_draft_chunks
( &self, _request: tonic::Request<openshell_core::proto::ClearDraftChunksRequest>, )
crates/openshell-cli/tests/mtls_integration.rs:424
↓ 1 callersMethodclear_pending_sandbox
(&self, sandbox_id: &str)
crates/openshell-driver-docker/src/lib.rs:1095
↓ 1 callersFunctionclear_vfio_id_refcounts
()
crates/openshell-vfio/src/bind.rs:113
↓ 1 callersFunctioncli_mtls_backup_dir
(name: &str)
crates/openshell-bootstrap/src/mtls.rs:88
↓ 1 callersFunctioncli_mtls_temp_dir
(name: &str)
crates/openshell-bootstrap/src/mtls.rs:84
↓ 1 callersFunctionclient_requested_upgrade
Check if the client request headers contain both `Upgrade` and `Connection: Upgrade` headers, indicating the client requested a protocol upgrade (e.g.
crates/openshell-supervisor-network/src/l7/rest.rs:2282
↓ 1 callersFunctioncollect_and_rewrite_request_body
( req: &L7Request, client: &mut C, rewritten_headers: &[u8], original_header_str: &str, al
crates/openshell-supervisor-network/src/l7/rest.rs:771
↓ 1 callersFunctioncollect_chunked_body
( client: &mut C, already_read: &[u8], generation_guard: Option<&PolicyGenerationGuard>, )
crates/openshell-supervisor-network/src/l7/rest.rs:996
↓ 1 callersFunctioncollect_descendant_pids_with_depth
(root_pid: u32)
crates/openshell-supervisor-process/src/bypass_monitor/procfs.rs:244
↓ 1 callersFunctioncollect_proto_files
(dir: &Path, out: &mut Vec<PathBuf>)
crates/openshell-core/build.rs:63
↓ 1 callersFunctioncollect_root_fields
( selection_set: cst::SelectionSet, fragments: &HashMap<String, cst::FragmentDefinition>, visited_
crates/openshell-supervisor-network/src/l7/graphql.rs:280
↓ 1 callersFunctioncollect_sandbox_owner_commands
( source_path: &Path, guest_path: &str, uid: u32, gid: u32, commands: &mut Vec<String>, )
crates/openshell-driver-vm/src/rootfs.rs:544
↓ 1 callersFunctioncollect_shorthand_log_files
(log_dir: &Path, max_files: usize)
crates/openshell-supervisor-network/src/policy_local.rs:437
↓ 1 callersFunctioncompat_level
(level: &LandlockCompatibility)
crates/openshell-supervisor-process/src/sandbox/linux/landlock.rs:408
↓ 1 callersFunctioncomplete_provider_names
Complete provider names by querying the active gateway.
crates/openshell-cli/src/completers.rs:57
↓ 1 callersFunctioncomplete_sandbox_names
Complete sandbox names by querying the active gateway.
crates/openshell-cli/src/completers.rs:33
↓ 1 callersMethodcomplete_step_with_label
Record a completed provisioning step with a custom label.
crates/openshell-cli/src/run.rs:301
↓ 1 callersMethodcompleted_label
Human-readable label for a completed step.
crates/openshell-cli/src/run.rs:226
↓ 1 callersFunctioncompress_test_permessage_deflate
(payload: &[u8])
crates/openshell-supervisor-network/src/l7/rest.rs:2521
↓ 1 callersFunctioncompute_file_sha256_hex
(path: &Path)
crates/openshell-driver-vm/src/driver.rs:3773
↓ 1 callersMethodconfigure_launch
( &self, _sandbox: &Sandbox, _state_dir: &Path, plan: &mut Lau
crates/openshell-driver-vm/src/driver.rs:6838
↓ 1 callersMethodconfigure_qemu_launch_plan
( &self, sandbox_id: &str, is_gpu: bool, gpu_bdf: Option<String>, plan
crates/openshell-driver-vm/src/driver.rs:1405
↓ 1 callersFunctionconfigure_runtime_loader_env
(runtime_dir: &Path)
crates/openshell-driver-vm/src/runtime.rs:919
← previousnext →2,401–2,500 of 9,017, ranked by callers