vsock-util: allow VMADDR_CID_ANY as local CID if enabled in hwdb

On Hyper-V guests, `VMADDR_CID_ANY` is valid as per implementation in
kernel driver: net/vmw_vsock/hyperv_transport.c.

Fixes https://github.com/systemd/systemd/issues/42496

Follow-up for 83359c4da0
This commit is contained in:
Chitoku
2026-06-13 15:54:50 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent 92e4afc4d3
commit 85afe8e82d
11 changed files with 114 additions and 29 deletions
+1 -1
View File
@@ -32,9 +32,9 @@
#include "service-util.h"
#include "set.h"
#include "signal-util.h"
#include "socket-util.h"
#include "special.h"
#include "string-util.h"
#include "vsock-util.h"
static Manager* manager_unref(Manager *m);
DEFINE_TRIVIAL_CLEANUP_FUNC(Manager*, manager_unref);