]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
privsep: Change IPC to use SOCK_STREAM (#604)
authorRoy Marples <roy@marples.name>
Sat, 9 May 2026 12:13:56 +0000 (13:13 +0100)
committerGitHub <noreply@github.com>
Sat, 9 May 2026 12:13:56 +0000 (13:13 +0100)
commite91fd575ef5957028549ecdfe8ed1e6a65c3c994
treea490686bb0725831859f314acd650399121c1104
parenta4b78bfdd9b8bafe6701240945569692ef35cfb7
privsep: Change IPC to use SOCK_STREAM (#604)

macOS does not support SOCK_SEQPACKET.

All our messages use a fixed header which includes the
lengths of all parts sent.
We can use these limits with MSG_WAITALL on blocking sockets
in place of MSG_EOR to get the same effect.

Start of the work for #524.
src/dhcpcd.c
src/logerr.c
src/logerr.h
src/privsep-bpf.c
src/privsep-control.c
src/privsep-inet.c
src/privsep-root.c
src/privsep.c