aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/diff3
diff options
context:
space:
mode:
authorJake Freeland <jfree@FreeBSD.org>2024-11-27 22:26:04 +0000
committerJake Freeland <jfree@FreeBSD.org>2024-11-27 22:26:04 +0000
commit4ecbee2760f7c7bb0af8b28c202b12d5374e9f4c (patch)
treec670dad682c9b0c741b3cfda01596b5474727d7f /gnu/usr.bin/diff3
parentd2d180fb77362eb1381ada9edefe4332be776bf2 (diff)
syslogd: Open forwarding socket descriptors
Previously, when forwarding a message to a remote address, the target's addrinfo was saved at config-parse-time. When message-deliver-time came, the message's addrinfo was passed into sendmsg(2) and delivered by the first available inet socket. Passing an addrinfo into sendmsg(2) is prohibited in Capsicum capability mode, so sockets are now opened and connected to their remote peers at config-parse-time when executing outside of the capability sandbox. These connected socket descriptors are saved and passed into sendmsg(2), allowing forwarding to be performed inside of the capability sandbox. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D47104
Diffstat (limited to 'gnu/usr.bin/diff3')
0 files changed, 0 insertions, 0 deletions