api: Add FreeBSD specific mechanisms for unix sockets 37/40637/4
authorTom Jones <thj@freebsd.org>
Mon, 29 Jan 2024 15:08:01 +0000 (15:08 +0000)
committerDamjan Marion <dmarion@0xa5.net>
Wed, 24 Apr 2024 12:23:25 +0000 (12:23 +0000)
commitabd6a7b2b560ea370b5561f53ec3a243910ae4fe
tree53cdc343afd72ebb0d13dd84be2f0a93e671b10c
parent1dcb24c347a37a944af397851f29e4681fbc7a18
api: Add FreeBSD specific mechanisms for unix sockets

FreeBSD doesn't support SCM_CREDENTIALS, but has an equivalent mechanism
called SCM_CRED. This is documented in unix(4), use SCM_CREDS on
FreeBSD.

Type: improvement
Change-Id: Iaf4ec0d68445239c06fa0eef6c25db7e3328e989
Signed-off-by: Tom Jones <thj@freebsd.org>
src/vlibmemory/socket_client.c