]> git.ipfire.org Git - thirdparty/systemd.git/commit
vsock-util: allow VMADDR_CID_ANY as local CID if enabled in hwdb main
authorChitoku <odango@chitoku.jp>
Wed, 10 Jun 2026 15:06:33 +0000 (00:06 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 13 Jun 2026 13:54:50 +0000 (15:54 +0200)
commit85afe8e82d8be44d2dafb2b7cfd243954d346c5a
tree6675bd3c49ee2c25f68363359e407b7bba266ef6
parent92e4afc4d3045148e9749b30e890d3f09d8c7eda
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 83359c4da02a82d2972cf957d9855ea957359287
hwdb.d/70-vsock.hwdb [new file with mode: 0644]
hwdb.d/meson.build
hwdb.d/parse_hwdb.py
src/basic/socket-util.c
src/basic/socket-util.h
src/hostname/hostnamed.c
src/machine/machined.c
src/shared/meson.build
src/shared/vsock-util.c [new file with mode: 0644]
src/shared/vsock-util.h [new file with mode: 0644]
src/ssh-generator/ssh-util.c