[Fix] Bound Iota storage, relay and transport resources

This commit is contained in:
Alex Emmet 2026-09-24 18:37:28 +02:00
commit e19c3c3d12
19 changed files with 609 additions and 48 deletions

View file

@ -327,11 +327,11 @@ fn peer_credentials(stream: &UnixStream) -> Result<PeerIdentity> {
}
#[cfg(not(target_os = "linux"))]
{
Ok(PeerIdentity {
pid: 0,
uid: 0,
_gid: 0,
})
let _ = stream;
Err(std::io::Error::new(
std::io::ErrorKind::Unsupported,
"IPC peer credentials are unsupported on this platform",
))
}
}