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

Function is_configfs_available

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

Source from the content-addressed store, hash-verified

180}
181
182fn is_configfs_available() -> bool {
183 Path::new(CONFIGFS_DEFAULT).is_dir() || Path::new(CONFIGFS_BASE).is_dir()
184}
185
186fn is_vsock_available() -> bool {
187 read_vsock_port().map(|p| p > 0).unwrap_or(false)

Callers 1

get_quoteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected