MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / is_vsock_available

Function is_vsock_available

tdx-attest/src/linux.rs:186–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

184}
185
186fn is_vsock_available() -> bool {
187 read_vsock_port().map(|p| p > 0).unwrap_or(false)
188}
189
190/// Get a TDX report for the given report data.
191pub fn get_report(report_data: &TdxReportData) -> Result<TdxReport> {

Callers 1

get_quoteFunction · 0.85

Calls 1

read_vsock_portFunction · 0.85

Tested by

no test coverage detected