]> git.ipfire.org Git - thirdparty/systemd.git/commit
busctl: Support file descriptors in busctl
authorRyan Wilson <ryantimwilson@meta.com>
Mon, 30 Sep 2024 16:52:55 +0000 (09:52 -0700)
committerRyan Wilson <ryantimwilson@meta.com>
Sun, 6 Oct 2024 21:11:31 +0000 (14:11 -0700)
commitf88813b71a6fcd92bf04c6adcb54e7cd7551f7e2
tree79a7f24561efdb2fe172f7a64260b8e8492aec8d
parent615279f369aa4116e21704386090570dc42f4a55
busctl: Support file descriptors in busctl

Previously using file descriptors as input arguments in busctl was
unsupported with "UNIX file descriptor not supported as type."

We fix this by parsing the file descriptor as an integer and verifying
it is an available file descriptor in busctl.

Fixes: #14954
Replaces: #34551
src/busctl/busctl.c