Skip to content

Commit 24514b0

Browse files
committed
fix(isolation): clarify mediated DNS identity
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
1 parent 20ad32b commit 24514b0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎crates/openshell-isolation-interface/src/contract.rs‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,11 @@ pub struct MediatedDnsQuery {
831831
pub request: Vec<u8>,
832832
/// Workload DNS transport.
833833
pub transport: DnsTransport,
834-
/// Identity of the process that issued the DNS request.
834+
/// Identity of the process that issued the DNS request when the backend
835+
/// can observe it authoritatively. Native socket-write adapters report a
836+
/// resolution error because the relay cannot prove which descriptor
837+
/// holder sent a datagram. Consumers must never treat unavailable
838+
/// identity as a binary-policy grant.
835839
pub binary_identity: Result<BinaryIdentity, ResolveError>,
836840
/// Single-use response channel owned by the backend adapter.
837841
pub response: oneshot::Sender<Result<Vec<u8>, BackendError>>,

0 commit comments

Comments
 (0)