Use imsg_get_fd()
authorclaudio <claudio@openbsd.org>
Wed, 17 Jan 2024 10:01:24 +0000 (10:01 +0000)
committerclaudio <claudio@openbsd.org>
Wed, 17 Jan 2024 10:01:24 +0000 (10:01 +0000)
commita1416996f1ed3f656c5fea8ff313e4eda9be6bbf
tree86442efb5ae779db8a58d5d58e8e470d788b89a5
parent135f245e41aa66b6f97cff39186b8ce61f0a430b
Use imsg_get_fd()

As usual proc_forward_imsg() is never forwarding a file descriptor so
just use -1 there. This should be replaced by imsg_forward().
All other changes are simple conversions.

OK tb@
usr.sbin/relayd/agentx_control.c
usr.sbin/relayd/config.c
usr.sbin/relayd/proc.c
usr.sbin/relayd/relay.c